mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
2558516859
commit
5bcdc7f7c4
@ -697,6 +697,10 @@ error_code has_magic(const Twine &path, const Twine &magic, bool &result) {
|
|||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_code directory_entry::status(file_status &result) const {
|
||||||
|
return fs::status(Path, result);
|
||||||
|
}
|
||||||
|
|
||||||
} // end namespace fs
|
} // end namespace fs
|
||||||
} // end namespace sys
|
} // end namespace sys
|
||||||
} // end namespace llvm
|
} // end namespace llvm
|
||||||
|
Loading…
Reference in New Issue
Block a user