[VFS] Change file attributes or timestamps.

Changing these options is only viable for r/w mounted host devices (Cache)
Changing attributes works only on windows
Changing timestamps is mocked and logged to see if there is any title that uses it
This commit is contained in:
Gliniak
2024-08-15 17:13:19 +02:00
parent c68b09d717
commit 49584ff664
8 changed files with 86 additions and 0 deletions

View File

@@ -94,6 +94,11 @@ class Entry {
uint64_t access_timestamp() const { return access_timestamp_; }
uint64_t write_timestamp() const { return write_timestamp_; }
virtual bool SetAttributes(uint64_t attributes) { return false; }
virtual bool SetCreateTimestamp(uint64_t timestamp) { return false; }
virtual bool SetAccessTimestamp(uint64_t timestamp) { return false; }
virtual bool SetWriteTimestamp(uint64_t timestamp) { return false; }
bool is_read_only() const;
Entry* GetChild(const std::string_view name);