(raw)
| 608 | } |
| 609 | |
| 610 | function normalizeUploadPath(raw) { |
| 611 | return String(raw || '') |
| 612 | .replace(/\\/g, '/') |
| 613 | .replace(/^\/+/, '') |
| 614 | .trim(); |
| 615 | } |
| 616 | |
| 617 | function getUploadPathForFile(file) { |
| 618 | if (!file || typeof file !== 'object') return ''; |
no outgoing calls
no test coverage detected