the String in the name field is always a file name, never a full path. The free type variable is used in the File constructor and can hold Handles, Strings representing a file's contents or anything else you can think of. We catch any IO errors in the Failed constructor. an Exception can be converted to a String with show.
Instances6Functor, Foldable, Traversable, Eq, Ord, Show
Functor DirTreeDefined in directory-tree-0.12.1 · System.Directory.TreeFoldable DirTreeDefined in directory-tree-0.12.1 · System.Directory.TreeTraversable DirTreeDefined in directory-tree-0.12.1 · System.Directory.TreeEq a => Eq (DirTree a)Defined in directory-tree-0.12.1 · System.Directory.Tree(Ord a, Eq a) => Ord (DirTree a)Defined in directory-tree-0.12.1 · System.Directory.TreeShow a => Show (DirTree a)Defined in directory-tree-0.12.1 · System.Directory.Tree