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

Function normalizeSourceId

public/js/fileEditor.js:101–104  ·  view source on GitHub ↗
(raw)

Source from the content-addressed store, hash-verified

99function isAbsoluteHttpUrl(u) { return /^https?:\/\//i.test(u || ''); }
100
101function normalizeSourceId(raw) {
102 const id = String(raw || '').trim();
103 return id;
104}
105
106function resolveActiveSourceId() {
107 try {

Callers 4

isFolderEncryptedFunction · 0.70
openOnlyOfficeFunction · 0.70
editFileFunction · 0.70
saveFileFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected