Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/isomorphic-git/isomorphic-git
/ deepget
Function
deepget
src/utils/DeepMap.js:1–7 ·
view source on GitHub ↗
(keys, map)
Source
from the content-addressed store, hash-verified
1
const
deepget = (keys, map) => {
2
for
(
const
key of keys) {
3
if
(!map.has(key)) map.set(key,
new
Map())
4
map = map.get(key)
5
}
6
return
map
7
}
8
9
export
class
DeepMap {
10
constructor() {
Callers
3
set
Method · 0.85
get
Method · 0.85
has
Method · 0.85
Calls
3
has
Method · 0.45
set
Method · 0.45
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…