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

Method oid

src/models/GitWalkerRepo.js:125–132  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

123 }
124
125 async oid(entry) {
126 if (entry._oid === false) {
127 const map = await this.mapPromise
128 const obj = map.get(entry._fullpath)
129 entry._oid = obj.oid
130 }
131 return entry._oid
132 }
133}

Callers 1

oidMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected