Removing dtype from Windows

Reviewed By: wez

Differential Revision: D14141032

fbshipit-source-id: 6a8c71fe77310f83df075e4bab9e44707dec4d91
This commit is contained in:
Puneet Kaushik 2019-02-19 15:40:43 -08:00 committed by Facebook Github Bot
parent bdd335b648
commit c066cb60d6

View File

@ -10,7 +10,9 @@
#pragma once
#include "eden/fs/model/Hash.h"
#ifndef EDEN_WIN
#include "eden/fs/utils/DirType.h"
#endif
#include "eden/fs/utils/PathFuncs.h"
#include <folly/String.h>
@ -81,6 +83,7 @@ class TreeEntry {
return type_;
}
#ifndef EDEN_WIN
dtype_t getDType() const {
switch (type_) {
case TreeEntryType::TREE:
@ -94,6 +97,7 @@ class TreeEntry {
return dtype_t::Unknown;
}
}
#endif //! EDEN_WIN
std::string toLogString() const;