filemanip
filemanip copied to clipboard
A Haskell library for working with files and directories. Includes code for pattern matching, finding files, modifying file contents, and more.
Internal matchDir would always fail if we were trying to match against a separator after as it gave up before the separator even had the chance to be consumed. Closes...
`find` lives in `IO`, but nevertheless uses `unsafePerformIO`. https://github.com/bos/filemanip/blob/1ed1659a6459aeb66f4cec588ea1519bb6c26828/System/FilePath/Find.hs#L131 This leads to weird effects. E.g. I experienced that on Windows some warnings cause by `find` are printed to `stderr` only...