From c1fb0f3038874864787780071cd8e07b1fb65d53 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Thu, 17 Mar 2022 23:16:44 +0800 Subject: [PATCH] added FileLastWriteTime function. --- inc/hgl/filesystem/FileSystem.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/hgl/filesystem/FileSystem.h b/inc/hgl/filesystem/FileSystem.h index 9d5cc35..a68bd3e 100644 --- a/inc/hgl/filesystem/FileSystem.h +++ b/inc/hgl/filesystem/FileSystem.h @@ -22,6 +22,8 @@ namespace hgl bool FileCanWrite(const OSString &); ///<检测文件是否可写 bool FileCanExec(const OSString &); ///<检测文件是否可执行 + uint64 FileLastWriteTime(const OSString &); ///<获取文件最后写入时间 + void *LoadFileToMemory(const OSString &,int64 &,bool append_zero=false); ///<加载一个文件到内存 int64 LoadFileToMemory(const OSString &,void **,bool append_zero=false); ///<加载一个文件到内存 int64 SaveMemoryToFile(const OSString &,const void *,const int64 &); ///<保存一块内存成文件