MCPcopy Index your code
hub / github.com/devcontainers/cli / readFile

Method readFile

src/spec-common/cliHost.ts:33–33  ·  view source on GitHub ↗
(filepath: string)

Source from the content-addressed store, hash-verified

31 isFile(filepath: string): Promise<boolean>;
32 isFolder(filepath: string): Promise<boolean>;
33 readFile(filepath: string): Promise<Buffer>;
34 writeFile(filepath: string, content: Buffer): Promise<void>;
35 rename(oldPath: string, newPath: string): Promise<void>;
36 mkdirp(dirpath: string): Promise<void>;

Callers 3

getControlManifestFunction · 0.65
readDocumentMethod · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected