diff options
| author | bunnei <bunneidev@gmail.com> | 2021-09-15 20:13:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-15 20:13:26 -0700 |
| commit | f6d5444293d263c1a9afc0416e24a8b9262b519f (patch) | |
| tree | 5bd81eb2caf3b094382bcc34388ac73af1165aa5 /src/core/file_sys/vfs.h | |
| parent | e4d9814ec492b58559dedf4db622dc2dc74d9255 (diff) | |
| parent | 8d63ebcb645476d8a1efca7957d8308e32b0353c (diff) | |
Merge pull request #7010 from Morph1984/fs-timestamp
vfs: Partially implement GetFileTimeStampRaw
Diffstat (limited to 'src/core/file_sys/vfs.h')
| -rw-r--r-- | src/core/file_sys/vfs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h index afd64e95c..ff6935da6 100644 --- a/src/core/file_sys/vfs.h +++ b/src/core/file_sys/vfs.h @@ -199,6 +199,9 @@ public: // file with name. virtual VirtualFile GetFile(std::string_view name) const; + // Returns a struct containing the file's timestamp. + virtual FileTimeStampRaw GetFileTimeStamp(std::string_view path) const; + // Returns a vector containing all of the subdirectories in this directory. virtual std::vector<VirtualDir> GetSubdirectories() const = 0; // Returns the directory with name matching name. Returns nullptr if directory dosen't have a |
