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

Function GetFileSize

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

Source from the content-addressed store, hash-verified

87}
88
89function GetFileSize(filePath) {
90 try {
91 const stats = fs.statSync(filePath);
92 return stats.size;
93 } catch (err) {
94 throw err;
95 }
96}
97
98function DeleteDir(dirPath) {
99 try {

Callers 1

GetBackupHistoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected