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

Function getProjectSlug

lib/transcript.js:16–18  ·  view source on GitHub ↗
(cwd)

Source from the content-addressed store, hash-verified

14}
15
16function getProjectSlug(cwd) {
17 return cwd.replace(/[^a-zA-Z0-9]/g, '-');
18}
19
20function projectTranscriptDir() {
21 return path.join(PROJECTS_DIR, getProjectSlug(state.CWD));

Callers 4

projectTranscriptDirFunction · 0.85
startSwitchWatcherFunction · 0.85
scanSessionsFunction · 0.85
test-modules.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected