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

Method readdir

apps/ui/src/lib/http-api-client.ts:1230–1232  ·  view source on GitHub ↗
(dirPath: string)

Source from the content-addressed store, hash-verified

1228 }
1229
1230 async readdir(dirPath: string): Promise<ReaddirResult> {
1231 return this.post('/api/fs/readdir', { dirPath });
1232 }
1233
1234 async exists(filePath: string): Promise<boolean> {
1235 const result = await this.post<{ success: boolean; exists: boolean }>('/api/fs/exists', {

Callers 15

createDirectoriesHandlerFunction · 0.80
scanWorktreesDirectoryFunction · 0.80
copyDirectoryRecursiveFunction · 0.80
createBrowseHandlerFunction · 0.80
getDirectorySizeFunction · 0.80
createReaddirHandlerFunction · 0.80
createSecureFsAdapterFunction · 0.80
scanAgentsDirectoryFunction · 0.80
readAllWorktreeMetadataFunction · 0.80
getAllValidationsFunction · 0.80

Calls 1

postMethod · 0.95

Tested by

no test coverage detected