[Base] Set the path for posix file info
This commit is contained in:
parent
4a3b04d4ee
commit
41c423109f
|
@ -225,6 +225,7 @@ std::vector<FileInfo> ListFiles(const std::filesystem::path& path) {
|
|||
info.create_timestamp = convertUnixtimeToWinFiletime(st.st_ctime);
|
||||
info.access_timestamp = convertUnixtimeToWinFiletime(st.st_atime);
|
||||
info.write_timestamp = convertUnixtimeToWinFiletime(st.st_mtime);
|
||||
info.path = path;
|
||||
if (ent->d_type == DT_DIR) {
|
||||
info.type = FileInfo::Type::kDirectory;
|
||||
info.total_size = 0;
|
||||
|
|
Loading…
Reference in New Issue