mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
Removing dtype from Windows
Reviewed By: wez Differential Revision: D14141032 fbshipit-source-id: 6a8c71fe77310f83df075e4bab9e44707dec4d91
This commit is contained in:
parent
bdd335b648
commit
c066cb60d6
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user