MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / normalizeFsPath

Function normalizeFsPath

lib/transcript.js:11–14  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

9// Path Utilities
10// ============================================================
11function normalizeFsPath(value) {
12 const resolved = path.resolve(String(value || ''));
13 return process.platform === 'win32' ? resolved.toLowerCase() : resolved;
14}
15
16function getProjectSlug(cwd) {
17 return cwd.replace(/[^a-zA-Z0-9]/g, '-');

Callers 4

resolveHookTranscriptFunction · 0.85
maybeAttachHookSessionFunction · 0.85
listDirectoriesFunction · 0.85
test-modules.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected