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

Function getUploadPathForFile

public/js/upload.js:617–627  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

615}
616
617function getUploadPathForFile(file) {
618 if (!file || typeof file !== 'object') return '';
619 const raw =
620 file.customRelativePath ||
621 file.relativePath ||
622 file.webkitRelativePath ||
623 file.name ||
624 file.fileName ||
625 '';
626 return normalizeUploadPath(raw);
627}
628
629function ensureUploadConflictModal() {
630 let modal = document.getElementById('uploadConflictModal');

Callers 1

filterExistingUploadsFunction · 0.85

Calls 1

normalizeUploadPathFunction · 0.85

Tested by

no test coverage detected