packages feed

dirtree 0.1.0 → 0.1.1

raw patch · 3 files changed

+7/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

dirtree.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: af2392fd0d2b2978caaee80e8994f8254986e75b5c1113b4016f71255f20c7f7+-- hash: 04b2faaa60c67c8e41c9199e27a349c490f89680aaacffd35aa25967f4984de0  name:           dirtree-version:        0.1.0+version:        0.1.1 synopsis:       A small library for working with directories. description:    A small library for loading and building directories as trees. category:       System
src/System/DirTree.hs view
@@ -223,6 +223,7 @@ -- | Check a filepath for Type, throws an IOException if path does not exist. getFileType :: FilePath -> IO FileType getFileType fp =+  -- TODO: Throw a resonable exception if the file does not exist.   pathIsSymbolicLink fp >>= \case   True ->     return $ File (Symlink ())
test/System/DirTreeSpec.hs view
@@ -12,6 +12,10 @@  spec :: Spec spec = do+  possibleSpec++possibleSpec :: Spec+possibleSpec = do    describe "getFileType" $ do     it "should find a directory" $ do       getFileType "test/data" `shouldReturn` Directory ()