* Feature: Augment VFS file information with creation times & update some console functions to use VFS.

This commit is contained in:
Robert MacGregor 2021-12-18 03:56:11 -05:00
parent 277cdf67b0
commit 948bc43d85
7 changed files with 36 additions and 23 deletions

View file

@ -114,6 +114,7 @@ public:
String name; ///< File/Directory name
Time mtime; ///< Last modified time
Time atime; ///< Last access time
Time ctime; ///< Creation Time
U64 size;
};
@ -128,6 +129,7 @@ public:
// Convenience routines - may be overridden for optimal access
virtual Time getModifiedTime(); ///< @note This will return Time() on failure
virtual Time getCreatedTime(); ///< @note This will return Time() on failure
virtual U64 getSize(); ///< @note This will return 0 on failure
virtual U32 getChecksum(); ///< @note This will return 0 on failure