git-annex/Remote
Joey Hess 4f657aa14e add getFileSize, which can get the real size of a large file on Windows
Avoid using fileSize which maxes out at just 2 gb on Windows.
Instead, use hFileSize, which doesn't have a bounded size.
Fixes support for files > 2 gb on Windows.

Note that the InodeCache code only needs to compare a file size,
so it doesn't matter it the file size wraps. So it has been
left as-is. This was necessary both to avoid invalidating existing inode
caches, and because the code passed FileStatus around and would have become
more expensive if it called getFileSize.

This commit was sponsored by Christian Dietrich.
2015-01-20 17:09:24 -04:00
..
Directory pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
External Expand checkurl to support recommended filename, and multi-file-urls 2014-12-11 15:33:42 -04:00
Helper add getFileSize, which can get the real size of a large file on Windows 2015-01-20 17:09:24 -04:00
Rsync rsync special remote: Fix slashes when used on Windows. 2014-03-18 13:02:10 -04:00
WebDAV WebDAV: Avoid buffering whole file in memory when downloading. 2014-08-08 13:40:55 -04:00
BitTorrent.hs revert parentDir change 2015-01-09 13:11:56 -04:00
Bup.hs Expand checkurl to support recommended filename, and multi-file-urls 2014-12-11 15:33:42 -04:00
Ddar.hs Expand checkurl to support recommended filename, and multi-file-urls 2014-12-11 15:33:42 -04:00
Directory.hs revert parentDir change 2015-01-09 13:11:56 -04:00
External.hs reformat 2014-12-16 15:26:13 -04:00
GCrypt.hs implemented old Richih wishlist about remote/uuid info 2015-01-13 18:13:14 -04:00
Git.hs add getFileSize, which can get the real size of a large file on Windows 2015-01-20 17:09:24 -04:00
Glacier.hs reformat 2014-12-16 15:26:13 -04:00
Hook.hs reformat 2014-12-16 15:26:13 -04:00
List.hs Added bittorrent special remote 2014-12-16 23:22:46 -04:00
Rsync.hs revert parentDir change 2015-01-09 13:11:56 -04:00
S3.hs add getFileSize, which can get the real size of a large file on Windows 2015-01-20 17:09:24 -04:00
Tahoe.hs revert parentDir change 2015-01-09 13:11:56 -04:00
Web.hs move dummy uuids to Annex.UUID 2014-12-17 13:57:52 -04:00
WebDAV.hs reformat 2014-12-16 15:26:13 -04:00