hsfm/test/FileSystem/FileOperations
Julian Ospald 9c6cf51825
LIB: refactor FileOperation and related Errors
* move FileOperation/Copy/Move types to its own UtilTypes module
* remove runFileOp, since it's hard to really do the correct
  thing here for all possible exceptions... instead, let the
  GUI logic handle this
* introduce copyDirRecursiveOverwrite, copyFileOverwrite and
  easyCopyOverwrite
* use our own throwSameFile on functions to distinguish between
  "same file" and "file already exists"
* don't follow destination in copyFile* either
* improve throwSameFile, by examining device and file ids
* add isWritable
* improve documentation
* adjust and fix tests
2016-05-08 18:48:17 +02:00
..
copyDirRecursiveOverwriteSpec LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
copyDirRecursiveSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
copyFileOverwriteSpec LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
copyFileSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
createDirSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
createRegularFileSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
deleteDirRecursiveSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
deleteDirSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
deleteFileSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
getDirsFilesSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
getFileTypeSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
moveFileSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
recreateSymlinkSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
renameFileSpec TESTS: restructure files 2016-05-03 13:27:10 +02:00
CopyDirRecursiveOverwriteSpec.hs LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
CopyDirRecursiveSpec.hs LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
CopyFileOverwriteSpec.hs LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
CopyFileSpec.hs LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
CreateDirSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
CreateRegularFileSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
DeleteDirRecursiveSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
DeleteDirSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
DeleteFileSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
GetDirsFilesSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
GetFileTypeSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
MoveFileSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00
RecreateSymlinkSpec.hs LIB: refactor FileOperation and related Errors 2016-05-08 18:48:17 +02:00
RenameFileSpec.hs TESTS: restructure files 2016-05-03 13:27:10 +02:00