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

Method parseContentKey

packages/decap-cms-backend-github/src/API.ts:425–431  ·  view source on GitHub ↗
(contentKey: string)

Source from the content-addressed store, hash-verified

423 }
424
425 parseContentKey(contentKey: string) {
426 if (!this.useOpenAuthoring) {
427 return parseContentKey(contentKey);
428 }
429
430 return parseContentKey(contentKey.slice(this.repo.length + 1));
431 }
432
433 checkMetadataRef() {
434 return this.request(`${this.repoURL}/git/refs/meta/_decap_cms`)

Callers 1

Calls 1

parseContentKeyFunction · 0.90

Tested by

no test coverage detected