Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
89
function
GetFileSize(filePath) {
90
try {
91
const
stats = fs.statSync(filePath);
92
return
stats.size;
93
} catch (err) {
94
throw err;
95
}
96
}
97
98
function
DeleteDir(dirPath) {
99
try {
Callers
1
GetBackupHistory
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected