MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / makeFileStats

Function makeFileStats

packages/kaos/test/ssh.test.ts:1314–1330  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1312 }
1313
1314 function makeFileStats(): unknown {
1315 return {
1316 mode: 0o100644,
1317 size: 0,
1318 uid: 0,
1319 gid: 0,
1320 atime: 0,
1321 mtime: 0,
1322 isDirectory: (): boolean => false,
1323 isFile: (): boolean => true,
1324 isSymbolicLink: (): boolean => false,
1325 isSocket: (): boolean => false,
1326 isCharacterDevice: (): boolean => false,
1327 isBlockDevice: (): boolean => false,
1328 isFIFO: (): boolean => false,
1329 };
1330 }
1331
1332 function makeDirStats(): unknown {
1333 return {

Callers 1

statFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected