git-annex/Database
Joey Hess b3d60ca285
use TopFilePath for associated files
Fixes several bugs with updates of pointer files. When eg, running
git annex drop --from localremote
it was updating the pointer file in the local repository, not the remote.
Also, fixes drop ../foo when run in a subdir, and probably lots of other
problems. Test suite drops from ~30 to 11 failures now.

TopFilePath is used to force thinking about what the filepath is relative
to.

The data stored in the sqlite db is still just a plain string, and
TopFilePath is a newtype, so there's no overhead involved in using it in
DataBase.Keys.
2016-01-05 17:22:19 -04:00
..
Keys fix build with pre-AMP ghc 2015-12-28 17:21:26 -04:00
Fsck.hs unused import 2015-12-24 13:07:42 -04:00
Handle.hs optimise read and write for Keys database (untested) 2015-12-23 19:18:52 -04:00
Keys.hs use TopFilePath for associated files 2016-01-05 17:22:19 -04:00
Queue.hs fix build with pre-AMP GHC 2015-12-28 12:41:47 -04:00
Types.hs add inode cache to the db 2015-12-09 17:00:37 -04:00