MCPcopy Create free account
hub / github.com/isomorphic-git/isomorphic-git / set

Method set

src/utils/DeepMap.js:14–18  ·  view source on GitHub ↗
(keys, value)

Source from the content-addressed store, hash-verified

12 }
13
14 set(keys, value) {
15 const lastKey = keys.pop()
16 const lastMap = deepget(keys, this._root)
17 lastMap.set(lastKey, value)
18 }
19
20 get(keys) {
21 const lastKey = keys.pop()

Callers 15

mkdirFunction · 0.45
mkfileFunction · 0.45
deepgetFunction · 0.45
collectFunction · 0.45
_checkoutFunction · 0.45
_fetchFunction · 0.45
_addRemoteFunction · 0.45
_findMergeBaseFunction · 0.45
_cloneFunction · 0.45
readPackIndexFunction · 0.45
setConfigFunction · 0.45
parseRefsAdResponseFunction · 0.45

Calls 1

deepgetFunction · 0.85

Tested by 1

gentypedefFunction · 0.36