* Reinier Lamers <[EMAIL PROTECTED]> [081028 00:55]: > > Have you looked at co_slurp to create one slurpy instead of checking two > slurpies? That's what the code in Darcs.Repository.Internal does when it > checks the current repository state.
I am not sure whether I understand what co_slurp does.
co_slurp :: Slurpy -> FilePath -> IO Slurpy
It takes a slurpy and a filepath to get me what? The co_slurp_helper
confuses me, especially this:
case efs of
Right fs
| isDirectory fs || (isSymbolicLink fs && d' == ".") ->
do sl <- unsafeInterleaveIO
$ unsafeInterleaveMapIO (co_slurp_helper fn') c
return $ Just $ SlurpDir d Nothing $ catMaybes sl
_ -> return Nothing
Could you elaborate on your idea behind this suggestion?
Thanks for your help!
Christian
--
You may use my gpg key for replies:
pub 1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)
pgpbgysOJLypf.pgp
Description: PGP signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
