Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chhoumann/MetaEdit
/ clean
Method
clean
src/updatedFileCache.ts:28–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
26
}
27
28
private clean() {
29
const
five_minutes: number = 300_000;
30
31
this.map.forEach((item, key) => {
32
if
(item.updateTime < Date.now() - five_minutes) {
33
this.delete(key);
34
}
35
});
36
}
37
}
Callers
1
set
Method · 0.95
Calls
1
delete
Method · 0.95
Tested by
no test coverage detected