[darcs-users] [patch127] Re: patches to Darcs.Commands.ShowFiles, and repository internals

Duncan bugs at darcs.net
Thu Apr 1 20:25:30 UTC 2010


Duncan <duncan at haskell.org> added the comment:

Here's a crazy idea: use the POSIX "*at" functions, see man openat for
an explanation and links to the related functions. The API can be
emulated on Windows at the performance cost that has already been noted.

The downside of course would be not using the ordinary System.*
functions and having to write your own binding. Of course such a binding
would be useful more widely, probably best as an implementation
substrate in some new IO lib that has an abstract FilePath type.

----------
nosy: +duncan

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch127>
__________________________________


More information about the darcs-users mailing list