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

Method toBase64

packages/decap-cms-backend-forgejo/src/API.ts:543–545  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

541 }
542
543 toBase64(str: string) {
544 return Promise.resolve(Base64.encode(str));
545 }
546
547 async getBranch(branchName: string): Promise<ForgejoBranch> {
548 return this.request(`${this.repoURL}/branches/${encodeURIComponent(branchName)}`);

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected