git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184478
91177308-0d34-0410-b5e6-
96231b3b80d8
// getters
file_type type() const { return Type; }
perms permissions() const { return Perms; }
-
+ TimeValue getLastModificationTime() const;
+
// setters
void type(file_type v) { Type = v; }
void permissions(perms p) { Perms = p; }
- TimeValue getLastModificationTime();
};
/// file_magic - An "enum class" enumeration of file types based on magic (the first
namespace sys {
namespace fs {
-TimeValue file_status::getLastModificationTime() {
+TimeValue file_status::getLastModificationTime() const {
TimeValue Ret;
Ret.fromEpochTime(fs_st_mtime);
return Ret;
namespace sys {
namespace fs {
-TimeValue file_status::getLastModificationTime() {
+TimeValue file_status::getLastModificationTime() const {
ULARGE_INTEGER UI;
UI.LowPart = LastWriteTimeLow;
UI.HighPart = LastWriteTimeHigh;