MCPcopy Index your code
hub / github.com/dmno-dev/bumpy / parseBumpFileFromPath

Function parseBumpFileFromPath

packages/bumpy/src/core/bump-file.ts:127–130  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

125
126/** Parse a single bump file from disk */
127export async function parseBumpFileFromPath(filePath: string): Promise<BumpFileParseResult> {
128 const content = await readText(filePath);
129 return parseBumpFile(content, fileToId(filePath));
130}
131
132export interface BumpFileParseResult {
133 bumpFile: BumpFile | null;

Callers 1

readBumpFilesFunction · 0.85

Calls 3

readTextFunction · 0.90
parseBumpFileFunction · 0.85
fileToIdFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…