mirror of
https://github.com/facebook/sapling.git
synced 2025-01-07 22:21:40 +03:00
Enable listMounts to get eden list working
Reviewed By: simpkins Differential Revision: D19510624 fbshipit-source-id: e097c5b412e62d6856179db971296f8389ec8991
This commit is contained in:
parent
3f326e911c
commit
32cc7c1eca
@ -366,7 +366,6 @@ void EdenServiceHandler::unmount(std::unique_ptr<std::string> mountPoint) {
|
||||
}
|
||||
|
||||
void EdenServiceHandler::listMounts(std::vector<MountInfo>& results) {
|
||||
#ifndef _WIN32
|
||||
auto helper = INSTRUMENT_THRIFT_CALL(DBG3);
|
||||
for (const auto& edenMount : server_->getAllMountPoints()) {
|
||||
MountInfo info;
|
||||
@ -375,9 +374,6 @@ void EdenServiceHandler::listMounts(std::vector<MountInfo>& results) {
|
||||
info.state = edenMount->getState();
|
||||
results.push_back(info);
|
||||
}
|
||||
#else
|
||||
NOT_IMPLEMENTED();
|
||||
#endif // !_WIN32
|
||||
}
|
||||
|
||||
void EdenServiceHandler::checkOutRevision(
|
||||
|
Loading…
Reference in New Issue
Block a user