MCPcopy
hub / github.com/flowjs/flow.js / cleanIdentifier

Function cleanIdentifier

samples/Node.js/flow-node.js:16–18  ·  view source on GitHub ↗
(identifier)

Source from the content-addressed store, hash-verified

14 } catch (e) {}
15
16 function cleanIdentifier(identifier) {
17 return identifier.replace(/[^0-9A-Za-z_-]/g, '');
18 }
19
20 function getChunkFilename(chunkNumber, identifier) {
21 // Clean up the identifier

Callers 3

getChunkFilenameFunction · 0.85
validateRequestFunction · 0.85
flow-node.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…