[darcs-users] darcs patch: Replace just_dir with System.FilePath.ta... (and 1 more)

David Roundy droundy at darcs.net
Thu Oct 23 20:54:21 UTC 2008


On Thu, Oct 23, 2008 at 08:33:03PM +0000, Eric Kow wrote:
> This is part of the (cautious) plan to replace our non-critical filepath
> code with System.FilePath equivalents.
> 
> These look like safe changes to me...
> 
> Thu Oct 23 21:20:09 BST 2008  Eric Kow <eric.kow at gmail.com>
>   * Replace just_dir with System.FilePath.takeFileName.
> 
> Thu Oct 23 21:25:57 BST 2008  Eric Kow <eric.kow at gmail.com>
>   * Remove unused functions just_dir and drop_paths from FilePathUtils.

Applied, thanks!

Although I think I'd be more comfortable using System.FilePath.Posix,
just so we maintain the same behavior.  Is there any reason to use
System.FilePath?

David


More information about the darcs-users mailing list