MCPcopy Create free account
hub / github.com/error311/FileRise / refreshSourceSelector

Function refreshSourceSelector

public/js/sourceManager.js:343–352  ·  view source on GitHub ↗
(opts = {})

Source from the content-addressed store, hash-verified

341}
342
343export async function refreshSourceSelector(opts = {}) {
344 const nextOpts = { ...opts, force: true };
345 if (typeof nextOpts.keepActive === 'undefined') {
346 nextOpts.keepActive = true;
347 }
348 if (!nextOpts.origin) {
349 nextOpts.origin = 'refresh';
350 }
351 return initSourceSelector(nextOpts);
352}
353
354try { window.__frRefreshSourceSelector = refreshSourceSelector; } catch (e) { /* ignore */ }

Callers

nothing calls this directly

Calls 1

initSourceSelectorFunction · 0.85

Tested by

no test coverage detected