Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/NervJS/nerv
/ Cache
Interface
Cache
packages/nerv-utils/src/simple-map.ts:2–5 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ global } from
'./env'
2
export
interface
Cache<Key, Value> {
3
k: Key
4
v: Value
5
}
6
7
export
class
SimpleMap<Key, Value> {
8
cache: Array<Cache<Key, Value>>
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected