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

Method parseContentKey

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

Source from the content-addressed store, hash-verified

395 }
396
397 parseContentKey(contentKey: string) {
398 if (!this.useOpenAuthoring) {
399 return parseContentKey(contentKey);
400 }
401
402 return parseContentKey(contentKey.slice(this.repo.length + 1));
403 }
404
405 checkMetadataRef() {
406 return this.request(`${this.repoURL}/git/refs/meta/_decap_cms`)

Callers 1

Calls 1

parseContentKeyFunction · 0.90

Tested by

no test coverage detected