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

Function lstat

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

Source from the content-addressed store, hash-verified

295 * Returns file stats without following symbolic links
296 */
297export async function lstat(filePath: string): Promise<ReturnType<typeof fs.lstat>> {
298 const validatedPath = validatePath(filePath);
299 return executeWithRetry(() => fs.lstat(validatedPath), `lstat(${filePath})`);
300}
301
302/**
303 * Wrapper around path.join that returns resolved path

Callers

nothing calls this directly

Calls 2

validatePathFunction · 0.85
executeWithRetryFunction · 0.85

Tested by

no test coverage detected