MCPcopy Create free account
hub / github.com/anders-swanson/oracle-database-code-samples / sampleIdToPath

Function sampleIdToPath

website/src/lib/catalog.ts:49–51  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

47const subfeatureGraphCenterRadius = 188;
48
49export function sampleIdToPath(id: string) {
50 return id.replace(/--/g, '/');
51}
52
53export function buildSamplePath(id: string) {
54 return `/samples/${id}/`;

Callers 3

catalog.test.tsFile · 0.90
buildGithubCodeUrlFunction · 0.85
decodeCatalogIndexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected