MCPcopy
hub / github.com/creationix/js-git / readRef

Function readRef

mixins/mem-db.js:23–27  ·  view source on GitHub ↗
(ref, callback)

Source from the content-addressed store, hash-verified

21 repo.listRefs = listRefs;
22
23 function readRef(ref, callback) {
24 return makeAsync(function () {
25 return refs[ref];
26 }, callback);
27 }
28
29 function listRefs(prefix, callback) {
30 return makeAsync(function () {

Callers

nothing calls this directly

Calls 1

makeAsyncFunction · 0.85

Tested by

no test coverage detected