mirror of https://github.com/voidlizard/hbs2
compiles
This commit is contained in:
parent
0f6fc6223c
commit
f7f404fd94
|
@ -85,9 +85,9 @@ home :: MonadIO m => m FilePath
|
||||||
home = liftIO D.getHomeDirectory
|
home = liftIO D.getHomeDirectory
|
||||||
|
|
||||||
data DirEntry =
|
data DirEntry =
|
||||||
EntryFile { entryPath :: FilePath }
|
EntryFile { dirEntryPath :: FilePath }
|
||||||
| EntryDir { entryPath :: FilePath }
|
| EntryDir { dirEntryPath :: FilePath }
|
||||||
| EntryOther { entryPath :: FilePath }
|
| EntryOther { dirEntryPath :: FilePath }
|
||||||
|
|
||||||
dirFiles :: MonadIO m => FilePath -> m [FilePath]
|
dirFiles :: MonadIO m => FilePath -> m [FilePath]
|
||||||
dirFiles d = S.toList_ $ do
|
dirFiles d = S.toList_ $ do
|
||||||
|
|
Loading…
Reference in New Issue