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

Method readFileSync

src/profile-store.ts:22–22  ·  view source on GitHub ↗
(pathToRead: string, encoding: BufferEncoding)

Source from the content-addressed store, hash-verified

20interface FileSystemExtended {
21 existsSync(pathToCheck: string): boolean;
22 readFileSync(pathToRead: string, encoding: BufferEncoding): string;
23 writeFileSync(pathToWrite: string, data: string): void;
24 mkdirSync(pathToCreate: string, options?: { recursive?: boolean }): void;
25}

Callers 5

getCurrentProfileNameMethod · 0.65
readIniMethod · 0.65
github-api.test.tsFile · 0.65

Implementers 1

MemoryFstests/profile-store.test.ts

Calls

no outgoing calls

Tested by

no test coverage detected