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

Method mode

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

Source from the content-addressed store, hash-verified

96 }
97
98 async mode(entry) {
99 if (entry._mode === false) {
100 const map = await this.mapPromise
101 const { mode } = map.get(entry._fullpath)
102 entry._mode = normalizeMode(parseInt(mode, 8))
103 }
104 return entry._mode
105 }
106
107 async stat(_entry) {}
108

Callers 1

modeMethod · 0.45

Calls 2

normalizeModeFunction · 0.90
getMethod · 0.45

Tested by

no test coverage detected