Support/PathV2: Implement directory_entry::status.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Michael J. Spencer 2011-01-05 16:39:13 +00:00
parent 2558516859
commit 5bcdc7f7c4

View File

@ -697,6 +697,10 @@ error_code has_magic(const Twine &path, const Twine &magic, bool &result) {
return success;
}
error_code directory_entry::status(file_status &result) const {
return fs::status(Path, result);
}
} // end namespace fs
} // end namespace sys
} // end namespace llvm