MCPcopy Create free account
hub / github.com/cloudflare/computer / stat

Method stat

packages/dofs/src/provider.ts:174–176  ·  view source on GitHub ↗
(path: string, options?: { bigint?: boolean })

Source from the content-addressed store, hash-verified

172 }
173
174 stat(path: string, options?: { bigint?: boolean }): Promise<VirtualStatsLike> {
175 return Promise.resolve(this.statSync(path, options));
176 }
177
178 statSync(path: string, _options?: { bigint?: boolean }): VirtualStatsLike {
179 // statImpl resolves the path once (following symlinks) and returns

Callers

nothing calls this directly

Calls 2

statSyncMethod · 0.95
resolveMethod · 0.80

Tested by

no test coverage detected