mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
efab3b7f01
commit
749d4fe04f
|
@ -54,10 +54,9 @@ glob pat ignore dir action = do
|
||||||
co' <- (try @_ @IOError $ listDirectory f)
|
co' <- (try @_ @IOError $ listDirectory f)
|
||||||
<&> fromRight mempty
|
<&> fromRight mempty
|
||||||
|
|
||||||
let co = [ normalise (f </> x) | x <- co' ]
|
forConcurrently_ co' $ \x -> do
|
||||||
& filter (not . skip)
|
let p = normalise (f </> x)
|
||||||
|
unless (skip p) (go q p)
|
||||||
forConcurrently_ co (go q)
|
|
||||||
|
|
||||||
entries :: forall c m . ( IsContext c
|
entries :: forall c m . ( IsContext c
|
||||||
, Exception (BadFormException c)
|
, Exception (BadFormException c)
|
||||||
|
|
Loading…
Reference in New Issue