MCPcopy Create free account
hub / github.com/Railly/agentfiles / refresh

Method refresh

src/store.ts:111–118  ·  view source on GitHub ↗
(settings: ChopsSettings)

Source from the content-addressed store, hash-verified

109 private _enrichGeneration = 0;
110
111 refresh(settings: ChopsSettings): void {
112 this._projectsHomeDir = settings.projectsHomeDir;
113 this.items = scanAll(settings);
114 if (isSkillkitAvailable()) {
115 this.applyEnrichmentFromCache();
116 }
117 this.trigger("updated");
118 }
119
120 revalidate(): void {
121 if (!isSkillkitAvailable()) return;

Callers 1

refreshStoreMethod · 0.45

Calls 3

scanAllFunction · 0.90
isSkillkitAvailableFunction · 0.90

Tested by

no test coverage detected