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

Method parseContentKey

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

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 1

parseContentKeyFunction · 0.90

Tested by

no test coverage detected