From b66e12cc9ec7b61bfab4a9ce421641344d41f8d8 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 3 Apr 2016 16:56:42 +0200 Subject: [PATCH] LIB: fix documentation in throwDestinationInSource --- src/HSFM/FileSystem/Errors.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HSFM/FileSystem/Errors.hs b/src/HSFM/FileSystem/Errors.hs index d125c0b..f815f83 100644 --- a/src/HSFM/FileSystem/Errors.hs +++ b/src/HSFM/FileSystem/Errors.hs @@ -116,7 +116,7 @@ throwSameFile fp1 fp2 = do -- source directory with all device+file IDs of the parent directories -- of the destination. throwDestinationInSource :: Path Abs -- ^ source dir - -> Path Abs -- ^ full destination, `basename dest` + -> Path Abs -- ^ full destination, `dirname dest` -- must exist -> IO () throwDestinationInSource source dest = do