Safe Haskell | None |
---|---|
Language | Haskell2010 |
The module exposing the functionality of this package
basic operations
diffFiles :: FilePath -> FilePath -> IO Filediff Source
O(mn). Compute the difference between the two files (more specifically, the minimal number of changes to make to transform the file residing at the location specified by the first parameter into the second). Throws an exception if either or both of the parameters point to a directory, not a file.
Files are allowed to not exist at either or both of the parameters.
diffDirectories :: FilePath -> FilePath -> IO Diff Source
Compute the difference between the two directories (more specifically, the minimal number of changes to make to transform the directory residing at the location specified by the first parameter into the second). Throws an exception if either or both of the parameters point to a file, not a directory.
diffDirectoriesWithIgnoredSubdirs :: FilePath -> FilePath -> [FilePath] -> [FilePath] -> IO Diff Source
Diff two directories, ignoring some subdirectories. The first
`[FilePath]` parameter refers to the first FilePath
parameter,
and same for the second, respectively.