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

Method getEntry

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

Source from the content-addressed store, hash-verified

374
375 // Fetches a single entry.
376 getEntry(path: string) {
377 return this.api!.readFile(path).then(data => ({
378 file: { path, id: null },
379 data: data as string,
380 }));
381 }
382
383 getMedia(mediaFolder = this.mediaFolder) {
384 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