ae2bc90a1d
git-annex has been using MissingH's `abdNormPath` forever, but that's unmaintained and possibly buggy, and doesn't work on Windows. I've been wanting to get rid of it for some time, and finally did today, writing a `simplifyPath` that does the things git-annex needs and will work with all the Windows filename craziness, and takes advantage of the more modern System.FilePath to be quite a simple peice of code. A QuickCheck test found no important divergences from absNormPath. A good first step to making git-annex not depend on MissingH at all. And it fixed some weird behaviors on Windows like `git annex add ..\subdir\file` not working. Note that absNormPathUnix has been left alone for now. |
||
---|---|---|
.. | ||
DirWatcher | ||
Applicative.hs | ||
Base64.hs | ||
Batch.hs | ||
CoProcess.hs | ||
CopyFile.hs | ||
Daemon.hs | ||
Data.hs | ||
DataUnits.hs | ||
DBus.hs | ||
Directory.hs | ||
DirWatcher.hs | ||
DiskFree.hs | ||
Dot.hs | ||
Env.hs | ||
Exception.hs | ||
ExternalSHA.hs | ||
FileMode.hs | ||
FileSystemEncoding.hs | ||
Format.hs | ||
FreeDesktop.hs | ||
Gpg.hs | ||
Hash.hs | ||
HumanNumber.hs | ||
HumanTime.hs | ||
InodeCache.hs | ||
JSONStream.hs | ||
libdiskfree.c | ||
libdiskfree.h | ||
libkqueue.c | ||
libkqueue.h | ||
libmounts.c | ||
libmounts.h | ||
LogFile.hs | ||
Lsof.hs | ||
Matcher.hs | ||
Metered.hs | ||
Misc.hs | ||
Monad.hs | ||
Mounts.hsc | ||
Network.hs | ||
NotificationBroadcaster.hs | ||
OSX.hs | ||
Parallel.hs | ||
PartialPrelude.hs | ||
Path.hs | ||
Percentage.hs | ||
PosixFiles.hs | ||
Process.hs | ||
QuickCheck.hs | ||
Quvi.hs | ||
Rsync.hs | ||
SafeCommand.hs | ||
Scheduled.hs | ||
Shell.hs | ||
SRV.hs | ||
SshConfig.hs | ||
Tense.hs | ||
ThreadLock.hs | ||
ThreadScheduler.hs | ||
TList.hs | ||
Tmp.hs | ||
Touch.hsc | ||
Url.hs | ||
UserInfo.hs | ||
Verifiable.hs | ||
WebApp.hs | ||
WinLock.hs | ||
Yesod.hs |