MCPcopy
hub / github.com/Dimillian/CodexMonitor / normalizePath

Function normalizePath

src/features/app/hooks/useGitRootSelection.ts:15–17  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

13};
14
15function normalizePath(value: string): string {
16 return value.replace(/\\/g, "/").replace(/\/+$/, "");
17}
18
19export function useGitRootSelection({
20 activeWorkspace,

Callers 1

useGitRootSelectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected