metacata command can now operate on many files at once
This commit is contained in:
parent
361aee0470
commit
0e9a72b356
4 changed files with 65 additions and 48 deletions
3
Annex.hs
3
Annex.hs
|
@ -58,6 +58,7 @@ import Types.UUID
|
|||
import Types.FileMatcher
|
||||
import Types.NumCopies
|
||||
import Types.LockPool
|
||||
import Types.MetaData
|
||||
import qualified Utility.Matcher
|
||||
import qualified Data.Map as M
|
||||
import qualified Data.Set as S
|
||||
|
@ -109,6 +110,7 @@ data AnnexState = AnnexState
|
|||
, lockpool :: LockPool
|
||||
, flags :: M.Map String Bool
|
||||
, fields :: M.Map String String
|
||||
, modmeta :: [ModMeta]
|
||||
, cleanup :: M.Map String (Annex ())
|
||||
, inodeschanged :: Maybe Bool
|
||||
, useragent :: Maybe String
|
||||
|
@ -146,6 +148,7 @@ newState c r = AnnexState
|
|||
, lockpool = M.empty
|
||||
, flags = M.empty
|
||||
, fields = M.empty
|
||||
, modmeta = []
|
||||
, cleanup = M.empty
|
||||
, inodeschanged = Nothing
|
||||
, useragent = Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue