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

Function joinPath

public/js/sharedFolderView.js:312–316  ·  view source on GitHub ↗
(base, name)

Source from the content-addressed store, hash-verified

310 }
311
312 function joinPath(base, name) {
313 const b = String(base || '').trim();
314 if (!b) return name;
315 return b.replace(/\/+$/, '') + '/' + name;
316 }
317
318 function buildShareUrl(path) {
319 const p = path ? '&path=' + encodeURIComponent(path) : '';

Callers 2

renderListFunction · 0.85
renderGalleryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected