Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/creationix/js-git
/ makeAsync
Function
makeAsync
mixins/mem-db.js:87–95 ·
view source on GitHub ↗
(fn, callback)
Source
from the content-addressed store, hash-verified
85
}
86
87
function
makeAsync(fn, callback) {
88
if
(!callback)
return
makeAsync.bind(null, fn);
89
defer(
function
() {
90
var
out;
91
try { out = fn(); }
92
catch (err) {
return
callback(err); }
93
callback(null, out);
94
});
95
}
Callers
8
readRef
Function · 0.85
listRefs
Function · 0.85
updateRef
Function · 0.85
hasHash
Function · 0.85
saveAs
Function · 0.85
saveRaw
Function · 0.85
loadAs
Function · 0.85
loadRaw
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected