mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-24 02:38:58 +00:00
And rewrite all the require calls. ```bash git mv src/utils/* packages/@uppy/utils/src sed -i 's/[./]*\/utils\//@uppy\/utils\/lib\//' src/**/*.js # transform (../)*utils → @uppy/utils ```
3 lines
125 B
JavaScript
3 lines
125 B
JavaScript
module.exports = function getBytesRemaining (fileProgress) {
|
|
return fileProgress.bytesTotal - fileProgress.bytesUploaded
|
|
}
|