aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-04-21 16:04:12 +0300
committerShlomo Hecht <shlomo@twine-s.com>2020-04-21 16:04:12 +0300
commit78430d37ac1dd07d5b5d731698da6761884d4cd5 (patch)
treeac46b2870e21e3ddbc7a7d0732340a93e4e774e2 /Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
parentbd2e83f3d46414d756f59c2f70cc561718a3022e (diff)
parent97a784b6ce43960bdb92465b08f26d3562a4f202 (diff)
downloadTango-78430d37ac1dd07d5b5d731698da6761884d4cd5.tar.gz
Tango-78430d37ac1dd07d5b5d731698da6761884d4cd5.zip
Merge branch 'master' of https://twinetfs.visualstudio.com/Tango/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs')
-rw-r--r--Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs b/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
index c08304ca8..dc8efa7dd 100644
--- a/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
+++ b/Software/Visual_Studio/Tango.FileSystem/FileSystemManager.cs
@@ -71,6 +71,7 @@ namespace Tango.FileSystem
Path = directory,
Type = FileSystemItemType.Folder,
DateModified = Directory.GetLastWriteTimeUtc(directory),
+ DateCreated = Directory.GetCreationTimeUtc(directory),
});
}
@@ -83,6 +84,7 @@ namespace Tango.FileSystem
Path = file,
Type = FileSystemItemType.File,
DateModified = File.GetLastWriteTimeUtc(file),
+ DateCreated = File.GetCreationTimeUtc(file),
Size = new FileInfo(file).Length
});
}