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

Method mkdir

packages/shell/src/fs/interface.ts:63–63  ·  view source on GitHub ↗
(path: string, options?: MkdirOptions)

Source from the content-addressed store, hash-verified

61 /** Does not follow the final symlink. Throws ENOENT if path does not exist. */
62 lstat(path: string): Promise<FsStat>;
63 mkdir(path: string, options?: MkdirOptions): Promise<void>;
64 readdir(path: string): Promise<string[]>;
65 readdirWithFileTypes(path: string): Promise<FileSystemDirent[]>;
66 rm(path: string, options?: RmOptions): Promise<void>;

Callers 5

writeFileFunction · 0.65
mkdirFunction · 0.65
mkdirMethod · 0.65
mkdirCallMethod · 0.65
mkdirWithEventsMethod · 0.65

Implementers 2

WorkspaceFileSystempackages/shell/src/workspace.ts
InMemoryFspackages/shell/src/fs/in-memory-fs.ts

Calls

no outgoing calls

Tested by 1

mkdirMethod · 0.52