MCPcopy Create free account
hub / github.com/IceClusters/icmysql / GetFileCreationDate

Function GetFileCreationDate

src/utils/Files.js:80–87  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

78}
79
80function GetFileCreationDate(filePath) {
81 try {
82 const stats = fs.statSync(filePath);
83 return stats.birthtime;
84 } catch (err) {
85 throw err;
86 }
87}
88
89function GetFileSize(filePath) {
90 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected