MCPcopy Create free account
hub / github.com/backnotprop/plannotator / parseDiffMetadataPathToken

Function parseDiffMetadataPathToken

packages/shared/diff-paths.ts:94–97  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

92}
93
94export function parseDiffMetadataPathToken(token: string): string {
95 if (token === "/dev/null") return token;
96 return unquoteGitPath(token);
97}
98
99export function formatDiffMetadataPathToken(filePath: string): string {
100 if (filePath === "/dev/null") return filePath;

Callers 2

rewritePatchLineFunction · 0.90

Calls 1

unquoteGitPathFunction · 0.85

Tested by

no test coverage detected