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

Function normalizeSourceId

public/js/aiChat.js:88–91  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

86}
87
88function normalizeSourceId(value) {
89 const v = String(value || '').trim();
90 return v === '' ? 'local' : v;
91}
92
93function normalizeCopilotProfile(value) {
94 const v = String(value || '').trim().toLowerCase();

Callers 8

getActiveSourceIdFunction · 0.70
setWorkspaceFunction · 0.70
updateScopeSummaryFunction · 0.70
sendMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected