cache annex index filename for 1.5% speedup to queries

This commit is contained in:
Joey Hess 2020-04-10 13:37:04 -04:00
parent 5e4423c058
commit 2caf579718
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
8 changed files with 64 additions and 36 deletions

11
Types/IndexFiles.hs Normal file
View file

@ -0,0 +1,11 @@
{- Alternative git index files
-
- Copyright 2020 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU AGPL version 3 or higher.
-}
module Types.IndexFiles where
data AltIndexFile = AnnexIndexFile | ViewIndexFile
deriving (Eq, Show)