(path, inline)
| 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) : ''; |
no test coverage detected