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

Function buildShareUrl

public/js/sharedFolderView.js:318–321  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

316 }
317
318 function buildShareUrl(path) {
319 const p = path ? '&path=' + encodeURIComponent(path) : '';
320 return withBasePath('/api/folder/shareFolder.php?token=' + encodeURIComponent(token) + passParam + p);
321 }
322
323 function buildDownloadFileUrl(path, inline) {
324 const p = encodeURIComponent(path);

Callers 3

renderBreadcrumbsFunction · 0.70
renderListFunction · 0.70
renderGalleryFunction · 0.70

Calls 1

withBasePathFunction · 0.70

Tested by

no test coverage detected