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

Function normalizeSourceId

public/js/adminFolderAccess.js:808–810  ·  view source on GitHub ↗
(sourceId)

Source from the content-addressed store, hash-verified

806let __groupsCache = {};
807
808function normalizeSourceId(sourceId) {
809 return String(sourceId || '').trim();
810}
811
812function isLocalSourceId(sourceId) {
813 const sid = normalizeSourceId(sourceId);

Callers 4

isLocalSourceIdFunction · 0.70
pickGroupGrantsForSourceFunction · 0.70
setGroupGrantsForSourceFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected