git-annex/Utility
Joey Hess ae2bc90a1d eliminating absNormPath
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.
2014-02-07 17:15:18 -04:00
..
DirWatcher Windows: Avoid using unix-compat's rename, which refuses to rename directories. 2014-01-29 15:19:03 -04:00
Applicative.hs
Base64.hs allow to build when sandi is installed (don't use it yet) 2013-11-11 15:42:06 -04:00
Batch.hs typo 2013-12-29 22:40:23 -04:00
CoProcess.hs Avoid looping if long-running git cat-file or git hash-object crashes and keeps crashing when restarted. 2014-01-01 21:42:25 -04:00
CopyFile.hs
Daemon.hs fix windows build 2014-01-29 15:24:22 -04:00
Data.hs
DataUnits.hs
DBus.hs
Directory.hs Windows: Avoid using unix-compat's rename, which refuses to rename directories. 2014-01-29 15:19:03 -04:00
DirWatcher.hs reorg 2013-12-04 23:09:54 -04:00
DiskFree.hs add getDiskSize 2014-01-22 22:19:52 -04:00
Dot.hs
Env.hs avoid needing a build-dep on hxt for Data.AssocList 2014-01-14 16:42:10 -04:00
Exception.hs
ExternalSHA.hs
FileMode.hs avoid using openFile when withFile can be used 2014-02-03 10:19:06 -04:00
FileSystemEncoding.hs
Format.hs
FreeDesktop.hs
Gpg.hs work around a strance change in gpg behavior; needs a trustdb to exist even when using --trust-model=always 2014-01-07 13:20:07 -04:00
Hash.hs
HumanNumber.hs
HumanTime.hs add webapp UI to manage unused files 2014-01-23 15:09:43 -04:00
InodeCache.hs
JSONStream.hs
libdiskfree.c add getDiskSize 2014-01-22 22:19:52 -04:00
libdiskfree.h
libkqueue.c
libkqueue.h
libmounts.c
libmounts.h
LogFile.hs change a few renameFile's to rename 2014-01-29 15:21:02 -04:00
Lsof.hs
Matcher.hs
Metered.hs external special remotes mostly implemented (untested) 2013-12-26 18:23:13 -04:00
Misc.hs factor out utility function 2014-02-03 10:08:28 -04:00
Monad.hs
Mounts.hsc
Network.hs
NotificationBroadcaster.hs assistant: Start a new git-annex transferkeys process after a network connection change 2014-01-06 16:03:39 -04:00
OSX.hs
Parallel.hs
PartialPrelude.hs
Path.hs eliminating absNormPath 2014-02-07 17:15:18 -04:00
Percentage.hs
PosixFiles.hs tell moveFile to overwrite existing files 2014-01-29 17:19:46 -04:00
Process.hs port transferkeys to windows; make stopping in progress transfers work too (probably) 2013-12-10 23:19:18 -04:00
QuickCheck.hs
Quvi.hs golf 2013-11-25 00:02:48 -04:00
Rsync.hs rsync special remote: Fix fallback mode for rsync remotes that use hashDirMixed. Closes: #731142 2013-12-02 12:53:39 -04:00
SafeCommand.hs
Scheduled.hs
Shell.hs
SRV.hs
SshConfig.hs Android: Avoid crashing when unable to set file mode for ssh config file due to Android filesystem horribleness. 2014-02-07 14:57:23 -04:00
Tense.hs
ThreadLock.hs
ThreadScheduler.hs avoid blocked indefinitely on mvar on windows 2013-12-04 17:25:41 -04:00
TList.hs comment 2014-01-07 17:33:38 -04:00
Tmp.hs change a few renameFile's to rename 2014-01-29 15:21:02 -04:00
Touch.hsc
Url.hs Android: Avoid passing --clobber to busybox wget. 2014-01-13 14:52:49 -04:00
UserInfo.hs
Verifiable.hs
WebApp.hs squash warning 2013-12-09 17:24:32 -04:00
WinLock.hs use locking on Windows 2014-01-28 14:42:03 -04:00
Yesod.hs switch define used, not android specific 2013-12-18 02:06:15 -04:00