MCPcopy Create free account
hub / github.com/decaporg/decap-cms / getLocalKey

Function getLocalKey

packages/decap-cms-lib-util/src/implementation.ts:430–432  ·  view source on GitHub ↗
({ branch, folder, extension, depth }: GetKeyArgs)

Source from the content-addressed store, hash-verified

428};
429
430function getLocalKey({ branch, folder, extension, depth }: GetKeyArgs) {
431 return `${LOCAL_KEY}.${branch}.${folder}.${extension}.${depth}`;
432}
433
434type PersistLocalTreeArgs = GetKeyArgs & {
435 localForage: LocalForage;

Callers 2

persistLocalTreeFunction · 0.85
getLocalTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected