clang-format

This commit is contained in:
Morph1984
2019-09-24 12:06:38 -04:00
parent c1de9813d3
commit e581ac641b
3 changed files with 7 additions and 4 deletions

View File

@@ -383,12 +383,13 @@ FileTimeStampRaw GetTimeStamp(const std::string& filename) {
if (stat(filename.c_str(), &buf) == 0)
#endif
{
LOG_TRACE(Common_Filesystem, "{}: Created={}, Accessed={}, Modified={}", filename, buf.st_ctime, buf.st_atime, buf.st_mtime);
LOG_TRACE(Common_Filesystem, "{}: Created={}, Accessed={}, Modified={}", filename,
buf.st_ctime, buf.st_atime, buf.st_mtime);
timestamp.Created = buf.st_ctime;
timestamp.Accessed = buf.st_atime;
timestamp.Modified = buf.st_mtime;
return timestamp;
}

View File

@@ -241,7 +241,8 @@ ResultVal<FileSys::EntryType> VfsDirectoryServiceWrapper::GetEntryType(
return FileSys::ERROR_PATH_NOT_FOUND;
}
ResultVal<FileUtil::FileTimeStampRaw> VfsDirectoryServiceWrapper::GetFileTimeStampRaw(const std::string& path_) const {
ResultVal<FileUtil::FileTimeStampRaw> VfsDirectoryServiceWrapper::GetFileTimeStampRaw(
const std::string& path_) const {
std::string path(FileUtil::SanitizePath(path_));
auto file = backing->GetFileRelative(path);
if (file == nullptr)

View File

@@ -227,7 +227,8 @@ public:
ResultVal<FileSys::EntryType> GetEntryType(const std::string& path) const;
/**
* Gets the creation, last accessed, and last modified timestamps of a File specified by its path
* Gets the creation, last accessed, and last modified timestamps of a File
* specified by its path
* @param path Path relative to the archive
* @return The timestamps of the File. They are expressed as a Unix timestamp
*/