Commit Graph

16 Commits

Author SHA1 Message Date
3f303b4cd4 LIB: minor cleanup 2016-04-10 22:04:07 +02:00
48edf7d47b LIB: make interaction with FileOperation more safe
We now don't safe an AnchoredFile anymore, but a Path and
construct the AnchoredFile just before the operation is carried out.

This means the copy and move buffers cannot contain stale references
to files that don't exist anymore.
2016-04-10 18:52:51 +02:00
5bcbbcc69c LIB: overhaul file operations and improve overall performance
This introduces a lot of changes and uses a more solid
file copy operation.
2016-04-10 03:58:20 +02:00
hasufell
7f086911e1 LIB: improve documentation 2016-04-08 02:43:39 +02:00
844abcdc86 LIB: more general type for rethrowErrnoAs 2016-04-08 02:09:59 +02:00
hasufell
17407860f4 LIB: improve exception handling 2016-04-06 04:27:02 +02:00
038b0d0377 LIB: various cleanups 2016-04-06 03:10:07 +02:00
bad817d32d LIB/GTK: use ByteString instead of String for 2016-04-05 00:56:36 +02:00
bfcc2f39e5 LIB: fix throwSameFile in case fp2 doesn't exist yet 2016-04-03 18:16:38 +02:00
b66e12cc9e LIB: fix documentation in throwDestinationInSource 2016-04-03 16:56:42 +02:00
ba4fbc200c LIB: fix throwDestinationInSource
We now examine device+file IDs, so this check works reliably
with mountpoints too.
2016-04-03 16:20:58 +02:00
8c95aa312a LIB: fix bug in throwDestinationInSource
We should only run canoncializePath on dirname, otherwise
realPath will likely fail.
2016-04-03 14:33:39 +02:00
d8fc529bf1 LIB: add canOpenDirectory and throwCantOpenDirectory 2016-04-03 14:32:10 +02:00
65595fa9c5 LIB/GTK: refactor HSFM.FileSystem.Error to use Path type 2016-03-31 15:49:35 +02:00
dd013b7d7b Fix Copyright 2016-03-31 00:28:23 +02:00
74a48b2668 Restructure module layout 2016-03-30 20:16:34 +02:00