MCPcopy
hub / github.com/AutoMaker-Org/automaker / stat

Function stat

libs/platform/src/secure-fs.ts:230–233  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

228 * Wrapper around fs.stat that validates path first
229 */
230export async function stat(filePath: string): Promise<ReturnType<typeof fs.stat>> {
231 const validatedPath = validatePath(filePath);
232 return executeWithRetry(() => fs.stat(validatedPath), `stat(${filePath})`);
233}
234
235/**
236 * Wrapper around fs.rm that validates path first

Callers 1

Calls 3

validatePathFunction · 0.85
executeWithRetryFunction · 0.85
statMethod · 0.80

Tested by

no test coverage detected