MCPcopy Index your code
hub / github.com/graphif/project-graph / get

Method get

packages/data-structures/src/Cache.ts:30–37  ·  view source on GitHub ↗
(key: K)

Source from the content-addressed store, hash-verified

28
29 // 重写 get:访问后把该 key 提到“最近使用”位置
30 get(key: K): V | undefined {
31 const value = super.get(key);
32 if (value !== undefined) {
33 super.delete(key);
34 super.set(key, value);
35 }
36 return value;
37 }
38}
39
40/**

Callers 10

getMethod · 0.45
Cache.test.tsFile · 0.45
MonoStack.test.tsFile · 0.45
_serializeFunction · 0.45
_deserializeFunction · 0.45
parseFileFunction · 0.45
checkImportFunction · 0.45
lookupTypeForValueFunction · 0.45
collectTypesFunction · 0.45
mainFunction · 0.45

Calls 2

deleteMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected