MCPcopy Create free account
hub / github.com/Noumena-Network/code / sanitizeGroupKey

Function sanitizeGroupKey

src/shims/nativeAssetRuntime.ts:35–37  ·  view source on GitHub ↗
(groupKey: string)

Source from the content-addressed store, hash-verified

33}
34
35function sanitizeGroupKey(groupKey: string): string {
36 return groupKey.replace(/[^a-zA-Z0-9._-]+/g, '-')
37}
38
39function getRuntimeAssetCandidateDirs(): string[] {
40 const directories = new Set<string>()

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected