dqn: Dqn_Fs_Info -> Dqn_FsInfo
This commit is contained in:
parent
c1364cf2bc
commit
92e56038f7
8
dqn.h
8
dqn.h
@ -2834,7 +2834,7 @@ struct Dqn_OSTimedBlock
|
|||||||
// ---------------------------------+-----------------------------+---------------------------------
|
// ---------------------------------+-----------------------------+---------------------------------
|
||||||
// [SECT-FSYS] Dqn_Fs | | Filesystem helpers
|
// [SECT-FSYS] Dqn_Fs | | Filesystem helpers
|
||||||
// ---------------------------------+-----------------------------+---------------------------------
|
// ---------------------------------+-----------------------------+---------------------------------
|
||||||
struct Dqn_Fs_Info
|
struct Dqn_FsInfo
|
||||||
{
|
{
|
||||||
uint64_t create_time_in_s;
|
uint64_t create_time_in_s;
|
||||||
uint64_t last_write_time_in_s;
|
uint64_t last_write_time_in_s;
|
||||||
@ -2846,7 +2846,7 @@ struct Dqn_Fs_Info
|
|||||||
// TODO(dqn): We should have a Dqn_String8 interface and a CString interface
|
// TODO(dqn): We should have a Dqn_String8 interface and a CString interface
|
||||||
DQN_API bool Dqn_Fs_Exists(Dqn_String8 path);
|
DQN_API bool Dqn_Fs_Exists(Dqn_String8 path);
|
||||||
DQN_API bool Dqn_Fs_DirExists(Dqn_String8 path);
|
DQN_API bool Dqn_Fs_DirExists(Dqn_String8 path);
|
||||||
DQN_API Dqn_Fs_Info Dqn_Fs_GetInfo(Dqn_String8 path);
|
DQN_API Dqn_FsInfo Dqn_Fs_GetInfo(Dqn_String8 path);
|
||||||
DQN_API bool Dqn_Fs_Copy(Dqn_String8 src, Dqn_String8 dest, bool overwrite);
|
DQN_API bool Dqn_Fs_Copy(Dqn_String8 src, Dqn_String8 dest, bool overwrite);
|
||||||
|
|
||||||
DQN_API bool Dqn_Fs_MakeDir(Dqn_String8 path);
|
DQN_API bool Dqn_Fs_MakeDir(Dqn_String8 path);
|
||||||
@ -8455,9 +8455,9 @@ DQN_API bool Dqn_Fs_DirExists(Dqn_String8 path)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
DQN_API Dqn_Fs_Info Dqn_Fs_GetInfo(Dqn_String8 path)
|
DQN_API Dqn_FsInfo Dqn_Fs_GetInfo(Dqn_String8 path)
|
||||||
{
|
{
|
||||||
Dqn_Fs_Info result = {};
|
Dqn_FsInfo result = {};
|
||||||
#if defined(DQN_OS_WIN32)
|
#if defined(DQN_OS_WIN32)
|
||||||
WIN32_FILE_ATTRIBUTE_DATA attrib_data = {};
|
WIN32_FILE_ATTRIBUTE_DATA attrib_data = {};
|
||||||
wchar_t path16[DQN_OS_WIN32_MAX_PATH];
|
wchar_t path16[DQN_OS_WIN32_MAX_PATH];
|
||||||
|
Loading…
Reference in New Issue
Block a user