summaryrefslogtreecommitdiff
path: root/src/nautilus-enums.h
diff options
context:
space:
mode:
authorCorey Berla <corey@berla.me>2023-01-23 14:26:52 -0800
committerCorey Berla <corey@berla.me>2023-04-17 11:28:52 -0700
commitfe34628a814a22ff1c07e64a21028d8cb5240771 (patch)
tree74f9b3d9c263534f44cc373d4508ccfa8608a7bf /src/nautilus-enums.h
parent11be0992f408a6b740c72b7a3dfc2ebedbd5c633 (diff)
downloadnautilus-wip/corey/4gb.tar.gz
file-operations: Warn before copying/moving >4GiB file to FATwip/corey/4gb
Nautilus attempts to copy/move >4GiB files to a FAT volume and fail once it reaches the 4GiB threshold. The verify_destination() function already scans all of the source files before a copy / move, so we can add a 4GiB check with almost no overhead. Add attributes to the SourceInfo to track the largest file. If that file exceeds 4GiB, warn before initiating the operation. Similar to the existing before of copying to a volume with insufficient space, allow forcing the copy. Fixes: https://gitlab.gnome.org/GNOME/nautilus/-/issues/1899
Diffstat (limited to 'src/nautilus-enums.h')
0 files changed, 0 insertions, 0 deletions