MCPcopy
hub / github.com/codeaashu/claude-code / sanitizeName

Function sanitizeName

src/utils/tasks.ts:717–719  ·  view source on GitHub ↗

* Sanitizes a name for use in file paths

(name: string)

Source from the content-addressed store, hash-verified

715 * Sanitizes a name for use in file paths
716 */
717function sanitizeName(name: string): string {
718 return name.replace(/[^a-zA-Z0-9]/g, '-').toLowerCase()
719}
720
721/**
722 * Reads team members from the team file

Callers 4

readTeamMembersFunction · 0.70
getAgentStatusesFunction · 0.70
callFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected