MCPcopy Index your code
hub / github.com/github/copilot-sdk / stat

Function stat

nodejs/test/session_fs_adapter.test.ts:28–37  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

26 return memoryProvider.exists(sp(path));
27 },
28 async stat(path) {
29 const st = await memoryProvider.stat(sp(path));
30 return {
31 isFile: st.isFile(),
32 isDirectory: st.isDirectory(),
33 size: st.size,
34 mtime: new Date(st.mtimeMs).toISOString(),
35 birthtime: new Date(st.birthtimeMs).toISOString(),
36 };
37 },
38 async mkdir(path, recursive, mode) {
39 await memoryProvider.mkdir(sp(path), { recursive, mode });
40 },

Callers

nothing calls this directly

Calls 2

spFunction · 0.70
statMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…