(side: "a" | "b", p: string)
| 76 | return /["\\\u0000-\u001F]/.test(p); |
| 77 | } |
| 78 | function headerPathToken(side: "a" | "b", p: string): string { |
| 79 | const full = `${side}/${p}`; |
| 80 | return needsGitQuoting(p) ? JSON.stringify(full) : full; |
| 81 | } |
| 82 | function metadataPathToken(p: string): string { |
| 83 | return needsGitQuoting(p) ? JSON.stringify(p) : p; |
| 84 | } |
no test coverage detected