* 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

@ -273,6 +273,18 @@ Time FileNode::getModifiedTime()
return attrs.mtime;
}
Time FileNode::getCreatedTime()
{
Attributes attrs;
bool success = getAttributes(&attrs);
if (!success)
return Time();
return attrs.ctime;
}
U64 FileNode::getSize()
{
Attributes attrs;