Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/angular/angular
/ update
Method
update
vscode-ng-language-service/server/src/utils.ts:158–163 ·
view source on GitHub ↗
(item: string)
Source
from the content-addressed store, hash-verified
156
private readonly set =
new
Set<string>();
157
158
update(item: string) {
159
if
(this.set.has(item)) {
160
this.set.delete(item);
161
}
162
this.set.add(item);
163
}
164
165
delete(item: string) {
166
this.set.delete(item);
Callers
nothing calls this directly
Calls
3
has
Method · 0.65
add
Method · 0.65
delete
Method · 0.45
Tested by
no test coverage detected