MCPcopy
hub / github.com/EveryInc/compound-engineering-plugin / sanitizePathName

Function sanitizePathName

src/utils/files.ts:84–86  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

82 * instead of failing on Windows where colons are illegal in filenames.
83 */
84export function sanitizePathName(name: string): string {
85 return name.replace(/:/g, "-")
86}
87
88/**
89 * Validate that a manifest-supplied relative path is safe to join against a

Callers 15

cleanupCodexFunction · 0.90
cleanupKiroFunction · 0.90
cleanupQwenFunction · 0.90
getLegacyCodexArtifactsFunction · 0.90
getLegacyPiArtifactsFunction · 0.90
getLegacyDroidArtifactsFunction · 0.90
getLegacyKiroArtifactsFunction · 0.90
addLegacySkillVariantsFunction · 0.90
toRawCommandRelativePathFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected