MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / sanitizeFileToken

Function sanitizeFileToken

packages/node/src/frameAudit.ts:175–177  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

173}
174
175function sanitizeFileToken(value: string): string {
176 return value.replace(/[^a-zA-Z0-9._-]/g, "_");
177}
178
179export function maybeDumpDrawlistBytes(
180 scope: string,

Callers 1

maybeDumpDrawlistBytesFunction · 0.85

Calls 1

replaceMethod · 0.80

Tested by

no test coverage detected