LIB/GTK: improve our ViewPatterns/PatternSynonyms + refactor

This commit is contained in:
2015-12-24 03:11:17 +01:00
parent 5f183bef3f
commit 47aee871be
4 changed files with 136 additions and 44 deletions

View File

@@ -251,7 +251,7 @@ easyCopy _ _ _ = return ()
moveFile :: AnchoredFile FileInfo -- ^ file to move
-> AnchoredFile FileInfo -- ^ base target directory
-> IO ()
moveFile from@SymlOrRegFile to@(_ :/ Dir {}) = do
moveFile from@SARegFile to@(_ :/ Dir {}) = do
let from' = fullPath from
to' = fullPath to </> (name . file $ from)
throwSameFile from' to'