diff options
Diffstat (limited to 'api/logic/FileSystem.h')
-rw-r--r-- | api/logic/FileSystem.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/logic/FileSystem.h b/api/logic/FileSystem.h index 564f94f9..a09ee557 100644 --- a/api/logic/FileSystem.h +++ b/api/logic/FileSystem.h @@ -29,6 +29,11 @@ MULTIMC_LOGIC_EXPORT void write(const QString &filename, const QByteArray &data) MULTIMC_LOGIC_EXPORT QByteArray read(const QString &filename); /** + * Update the last changed timestamp of an existing file + */ +MULTIMC_LOGIC_EXPORT bool updateTimestamp(const QString & filename); + +/** * Creates all the folders in a path for the specified path * last segment of the path is treated as a file name and is ignored! */ |