MCPcopy Create free account
hub / github.com/EvilFreelancer/openapi-to-cli / readFileSync

Method readFileSync

src/openapi-loader.ts:10–10  ·  view source on GitHub ↗
(pathToRead: string, encoding: BufferEncoding)

Source from the content-addressed store, hash-verified

8interface FileSystemForLoader {
9 existsSync(pathToCheck: string): boolean;
10 readFileSync(pathToRead: string, encoding: BufferEncoding): string;
11 writeFileSync(pathToWrite: string, data: string): void;
12 mkdirSync(pathToCreate: string, options?: { recursive?: boolean }): void;
13}

Callers 2

loadSpecMethod · 0.65
loadFromSourceMethod · 0.65

Implementers 1

MemoryFstests/profile-store.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected