diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-11-14 20:13:18 +0200 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-11-14 20:13:18 +0200 |
commit | cfbc2028ef31f4e4b2a70775f2c330f57108396a (patch) | |
tree | 4dc7448c844f513cedda93e75d022fca631741df /indra/llvfs/llvfs.cpp | |
parent | 3b328a3880972141311d38500e94f7b1bc64786c (diff) |
MAINT-6920 More information in About Second Life floater
Diffstat (limited to 'indra/llvfs/llvfs.cpp')
-rw-r--r-- | indra/llvfs/llvfs.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llvfs/llvfs.cpp b/indra/llvfs/llvfs.cpp index 1cc0e819db..db0eac7031 100644 --- a/indra/llvfs/llvfs.cpp +++ b/indra/llvfs/llvfs.cpp @@ -2114,6 +2114,17 @@ void LLVFS::dumpFiles() LL_INFOS() << "Extracted " << files_extracted << " files out of " << mFileBlocks.size() << LL_ENDL; } +time_t LLVFS::creationTime() +{ + llstat data_file_stat; + int errors = LLFile::stat(mDataFilename, &data_file_stat); + if (0 == errors) + { + return data_file_stat.st_ctime; + } + return 0; +} + //============================================================================ // protected //============================================================================ |