MCPcopy Create free account
hub / github.com/SoCreate/angular-playground / buildIdentifier

Function buildIdentifier

projects/cli/src/check-snapshots.ts:94–99  ·  view source on GitHub ↗
(url)

Source from the content-addressed store, hash-verified

92 const absoluteSnapshotDirectory = normalizeResolvePath(config.snapshotDirectory);
93 const items: SandboxFileInformation[] = require(SANDBOX_MENU_ITEMS_FILE).getSandboxMenuItems();
94 const buildIdentifier = (url) => {
95 return decodeURIComponent(url)
96 .substr(2)
97 .replace(/[\/.]|\s+/g, '-')
98 .replace(/[^a-z0-9\-]/gi, '');
99 };
100
101 let filesDeleted = false;
102 items.forEach((item) => {

Callers 1

deleteSnapshotsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected