MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / unescape

Function unescape

src/utils/image-paths.ts:26–28  ·  view source on GitHub ↗
(token: string)

Source from the content-addressed store, hash-verified

24);
25
26function unescape(token: string): string {
27 return token.replace(/\\(.)/g, '$1'); // "\ " -> " ", "\(" -> "(", etc.
28}
29
30function resolvePath(token: string, cwd: string): string {
31 let p = unescape(token).trim();

Callers 3

resolvePathFunction · 0.85
annotateImagePromptFunction · 0.85
looksLikePathTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected