MCPcopy
hub / github.com/louislam/dockge / deleteCache

Method deleteCache

backend/settings.ts:157–161  ·  view source on GitHub ↗

* Delete selected keys from settings cache * @param {string[]} keyList Keys to remove * @returns {void}

(keyList : string[])

Source from the content-addressed store, hash-verified

155 * @returns {void}
156 */
157 static deleteCache(keyList : string[]) {
158 for (const key of keyList) {
159 delete Settings.cacheList[key];
160 }
161 }
162
163 /**
164 * Stop the cache cleaner if running

Callers 2

setMethod · 0.80
setSettingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected