Skip to content

Commit 9f73920

Browse files
committed
Tweak comments
1 parent 61daecd commit 9f73920

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Codec/Archive/Tar/Pack.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ import Codec.Archive.Tar.Check.Internal (checkEntrySecurity)
6464
--
6565
-- * This function returns results lazily. Subdirectories are scanned
6666
-- and files are read one by one as the list of entries is consumed.
67+
-- Do not change their contents before the output of 'pack' was consumed in full.
6768
--
6869
pack
6970
:: FilePath -- ^ Base directory
@@ -213,7 +214,7 @@ packSymlinkEntry filepath tarpath = do
213214
--
214215
-- * This function returns results lazily. Subdirectories are not scanned
215216
-- until the files entries in the parent directory have been consumed.
216-
-- If the source directory structure changes before the result is used,
217+
-- If the source directory structure changes before the result is used in full,
217218
-- the behaviour is undefined.
218219
--
219220
getDirectoryContentsRecursive :: FilePath -> IO [FilePath]

0 commit comments

Comments
 (0)