MCPcopy Create free account
hub / github.com/agadmator-library/agadmator-library.github.io / getFilePath

Function getFilePath

build_scripts/db.ts:39–41  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

37}
38
39function getFilePath(id: string) {
40 return `${getDir()}/${id}.json`;
41}
42
43function assertNamespace(namespace: string) {
44 if (ALLOWED_NAMESPACES.indexOf(namespace) < 0) {

Callers 3

readMethod · 0.85
saveMethod · 0.85
deleteMethod · 0.85

Calls 1

getDirFunction · 0.85

Tested by

no test coverage detected