Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RTByte/rtbyte
/ tryEach
Method
tryEach
src/commands/Developer/Pieces/load.js:42–45 ·
view source on GitHub ↗
(store, path)
Source
from the content-addressed store, hash-verified
40
}
41
42
async
tryEach(store, path) {
43
for
(
const
dir of store.coreDirectories)
if
(
await
pathExists(join(dir, ...path)))
return
store.load(dir, path);
44
return
undefined;
45
}
46
47
};
Callers
1
run
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected