Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
From fa544560d48c6172199cd536cc5e05abfc6abb7d Mon Sep 17 00:00:00 2001
From: travis-ci
If you interact with low-level libraries, you must not pattern
match on the `File a` type. Instead, you should only use the saved
path
and make no assumptions about the file the path might or
- might not point to.
The String in the path field is always a full path. The free type variable is used in the File/Dir constructor and can hold Handles, Strings representing a file's contents or anything else you can think of.
Low-level file information.
FileInfo | |
|
Low-level file information.
FileInfo | |
|
pattern FileLike :: File FileInfo -> File FileInfo Source #
Matches on any non-directory kind of files, excluding symlinks.
pattern FileLike :: File FileInfo -> File FileInfo Source #
Matches on any non-directory kind of files, excluding symlinks.
pattern DirList :: [File FileInfo] -> [File FileInfo] Source #
Matches a list of directories or symlinks pointing to directories.
pattern FileLikeList :: [File FileInfo] -> [File FileInfo] Source #
Matches a list of any non-directory kind of files or symlinks pointing to such.
pattern FileLikeSym :: File FileInfo -> File FileInfo Source #
Matches on symlinks pointing to file-like files only.
pattern DirOrSym :: File FileInfo -> File FileInfo Source #
Matches on directories or symlinks pointing to directories. If the symlink is pointing to a symlink pointing to a directory, then it will return True, but also return the first element in the symlink- diff --git a/Paths_hsfm.html b/Paths_hsfm.html index 9edbce3..0bd468a 100644 --- a/Paths_hsfm.html +++ b/Paths_hsfm.html @@ -1,4 +1,4 @@
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Safe Haskell | Safe |
---|---|
Language | Haskell2010 |