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

Method getEntry

packages/decap-cms-backend-gitlab/src/implementation.ts:343–348  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

341
342 // Fetches a single entry.
343 getEntry(path: string) {
344 return this.api!.readFile(path).then(data => ({
345 file: { path, id: null },
346 data: data as string,
347 }));
348 }
349
350 getMedia(mediaFolder = this.mediaFolder) {
351 return this.api!.listAllFiles(mediaFolder).then(files =>

Callers 1

gitlab.spec.jsFile · 0.45

Calls 1

readFileMethod · 0.45

Tested by

no test coverage detected