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

Method add

src/models/GitRefSpecSet.js:16–19  ·  view source on GitHub ↗
(refspec)

Source from the content-addressed store, hash-verified

14 }
15
16 add(refspec) {
17 const rule = GitRefSpec.from(refspec) // might throw
18 this.rules.push(rule)
19 }
20
21 translate(remoteRefs) {
22 const result = []

Callers 15

_fetchFunction · 0.80
walkFunction · 0.80
_isDescendentFunction · 0.80
_findMergeBaseFunction · 0.80
_pushFunction · 0.80
listCommitsAndTagsFunction · 0.80
walkFunction · 0.80
readMethod · 0.80
isIgnoredMethod · 0.80
resolveMethod · 0.80
parseRefsAdResponseFunction · 0.80
_addEntryMethod · 0.80

Calls 1

fromMethod · 0.45

Tested by 1

useTempDirFunction · 0.64