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

Function buildDownloadFileUrl

public/js/sharedFolderView.js:323–327  ·  view source on GitHub ↗
(path, inline)

Source from the content-addressed store, hash-verified

321 }
322
323 function buildDownloadFileUrl(path, inline) {
324 const p = encodeURIComponent(path);
325 const inl = inline ? '&inline=1' : '';
326 return withBasePath('/api/folder/downloadSharedFile.php?token=' + encodeURIComponent(token) + passParam + '&path=' + p + inl);
327 }
328
329 function buildDownloadAllUrl(path) {
330 const p = path ? '&path=' + encodeURIComponent(path) : '';

Callers 2

renderListFunction · 0.85
renderGalleryFunction · 0.85

Calls 1

withBasePathFunction · 0.70

Tested by

no test coverage detected