Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dart-Code/Dart-Code
/ setForPath
Method
setForPath
src/shared/utils/document_cache.ts:19–21 ·
view source on GitHub ↗
(filePath: string, value: T)
Source
from the content-addressed store, hash-verified
17
}
18
19
public setForPath(filePath: string, value: T): void {
20
this.set(URI.file(filePath), value);
21
}
22
23
public has(uri: URI): boolean {
24
return
this.data.has(this.key(uri));
Callers
1
getOrCreateSuite
Method · 0.80
Calls
1
set
Method · 0.95
Tested by
no test coverage detected