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

Method from

src/models/GitRefSpecSet.js:8–14  ·  view source on GitHub ↗
(refspecs)

Source from the content-addressed store, hash-verified

6 }
7
8 static from(refspecs) {
9 const rules = []
10 for (const refspec of refspecs) {
11 rules.push(GitRefSpec.from(refspec)) // might throw
12 }
13 return new GitRefSpecSet(rules)
14 }
15
16 add(refspec) {
17 const rule = GitRefSpec.from(refspec) // might throw

Callers 1

addMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected