diff --git a/HSFM-FileSystem-FileType.html b/HSFM-FileSystem-FileType.html index ee3ec59..5d266bb 100644 --- a/HSFM-FileSystem-FileType.html +++ b/HSFM-FileSystem-FileType.html @@ -10,15 +10,15 @@ window.onload = function () {pageLoad();setSynopsis("mini_HSFM-FileSystem-FileTy happening on filesystem level.

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.

Synopsis

Documentation

data File a Source #

The String in the path field is always a full path. + might not point to.

Synopsis

Documentation

data File a Source #

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.

Constructors

Dir 

Fields

RegFile 

Fields

SymLink 

Fields

BlockDev 

Fields

CharDev 

Fields

NamedPipe 

Fields

Socket 

Fields

Instances

Eq a => Eq (File a) Source # 

Methods

(==) :: File a -> File a -> Bool #

(/=) :: File a -> File a -> Bool #

Ord (File FileInfo) Source #

First compare constructors: Failed < Dir < File... + we need to know where it points to

  • rawdest :: !ByteString
     
  • BlockDev 

    Fields

    CharDev 

    Fields

    NamedPipe 

    Fields

    Socket 

    Fields

    Instances

    Eq a => Eq (File a) Source # 

    Methods

    (==) :: File a -> File a -> Bool #

    (/=) :: File a -> File a -> Bool #

    Ord (File FileInfo) Source #

    First compare constructors: Failed < Dir < File... Then compare name... - Then compare free variable parameter of File constructors

    Show a => Show (File a) Source # 

    Methods

    showsPrec :: Int -> File a -> ShowS #

    show :: File a -> String #

    showList :: [File a] -> ShowS #

    data FileInfo Source #

    Low-level file information.

    Instances

    Eq FileInfo Source # 
    Ord FileInfo Source # 
    Show FileInfo Source # 
    Ord (File FileInfo) Source #

    First compare constructors: Failed < Dir < File... + Then compare free variable parameter of File constructors

    Show a => Show (File a) Source # 

    Methods

    showsPrec :: Int -> File a -> ShowS #

    show :: File a -> String #

    showList :: [File a] -> ShowS #

    data FileInfo Source #

    Low-level file information.

    Instances

    Eq FileInfo Source # 
    Ord FileInfo Source # 
    Show FileInfo Source # 
    Ord (File FileInfo) Source #

    First compare constructors: Failed < Dir < File... Then compare name... - Then compare free variable parameter of File constructors

    pattern FileLike :: File FileInfo -> File FileInfo Source #

    Matches on any non-directory kind of files, excluding symlinks.

    pattern DirList :: forall t. (Foldable t, Functor t) => t (File FileInfo) -> t (File FileInfo) Source #

    Matches a list of directories or symlinks pointing to directories.

    pattern FileLikeList :: forall t. (Foldable t, Functor t) => t (File FileInfo) -> t (File FileInfo) Source #

    Matches a list of any non-directory kind of files or symlinks + Then compare free variable parameter of File constructors

    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 BrokenSymlink :: File FileInfo -> File FileInfo Source #

    Matches on broken symbolic links.

    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 @@ Paths_hsfm

    \ No newline at end of file + \ No newline at end of file