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

Method toBase64

packages/decap-cms-backend-github/src/API.ts:1441–1443  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

1439 }
1440
1441 toBase64(str: string) {
1442 return Promise.resolve(Base64.encode(str));
1443 }
1444
1445 async uploadBlob(item: { raw?: string; sha?: string; toBase64?: () => Promise<string> }) {
1446 const contentBase64 = await result(

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected