(base, name)
| 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) : ''; |
no outgoing calls
no test coverage detected