MCPcopy Index your code
hub / github.com/OpenCoworkAI/open-codesign / normalizeSlashes

Function normalizeSlashes

apps/desktop/src/main/workspace-reader.ts:130–132  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

128}
129
130function normalizeSlashes(p: string): string {
131 return sep === '/' ? p : p.split(sep).join('/');
132}
133
134export interface WorkspaceFileEntry {
135 /** Workspace-relative POSIX path (e.g. `index.html`, `assets/logo.png`). */

Callers 6

walkFunction · 0.85
isIgnoredWorkspacePathFunction · 0.85
listWorkspaceDirectoryAtFunction · 0.85
readWorkspaceFileAtFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected