MCPcopy Create free account
hub / github.com/cloudflare/agents / lstat

Method lstat

packages/shell/src/workspace.ts:83–89  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

81 }
82
83 async lstat(path: string): Promise<FsStat> {
84 const s = await this.ws.lstat(path);
85 if (!s) {
86 throw enoent(path);
87 }
88 return fromWorkspaceStat(s);
89 }
90
91 async mkdir(path: string, options?: { recursive?: boolean }): Promise<void> {
92 await this.ws.mkdir(path, options);

Callers

nothing calls this directly

Calls 3

enoentFunction · 0.85
fromWorkspaceStatFunction · 0.85
lstatMethod · 0.65

Tested by

no test coverage detected