Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/react/metro
/ set
Method
set
packages/metro-cache/src/types.js:15–15 ·
view source on GitHub ↗
(key: Buffer, value: T)
Source
from the content-addressed store, hash-verified
13
name?: string;
14
get(key: Buffer): ?T | Promise<?T>;
15
set(key: Buffer, value: T): void | Promise<void>;
16
clear(): void | Promise<void>;
17
}
Callers
15
checkHealth
Method · 0.65
#updateClock
Method · 0.65
fileAdded
Method · 0.65
fileModified
Method · 0.65
fileRemoved
Method · 0.65
getDifference
Method · 0.65
bulkAddOrModify
Method · 0.65
#lookupByNormalPath
Method · 0.65
#resolveSymlinkTargetToNormalPath
Method · 0.65
#cloneTree
Method · 0.65
rootRelativeCacheKeys-test.js
File · 0.65
#emitEvent
Method · 0.65
Implementers
2
HttpStore
packages/metro-cache/src/stores/HttpSt
FileStore
packages/metro-cache/src/stores/FileSt
Calls
no outgoing calls
Tested by
8
init
Function · 0.52
createFile
Function · 0.52
addInferredDependency
Function · 0.52
removeInferredDependency
Function · 0.52
removeInferredDependencyByKey
Function · 0.52
computeInverseDependencies
Function · 0.52
traverseDependencies
Function · 0.52
register
Function · 0.52