update
This commit is contained in:
parent
d257bad93c
commit
759f146d0f
2 changed files with 15 additions and 6 deletions
7
Annex.hs
7
Annex.hs
|
@ -22,12 +22,7 @@ import Backend
|
|||
import BackendList
|
||||
import UUID
|
||||
import LocationLog
|
||||
|
||||
-- git-annex's runtime state
|
||||
data State = State {
|
||||
repo :: GitRepo,
|
||||
backends :: [Backend]
|
||||
}
|
||||
import Types
|
||||
|
||||
{- An annexed file's content is stored somewhere under .git/annex/ -}
|
||||
annexDir :: GitRepo -> Key -> FilePath
|
||||
|
|
14
Types.hs
Normal file
14
Types.hs
Normal file
|
@ -0,0 +1,14 @@
|
|||
{- git-annex core data types -}
|
||||
|
||||
module Types (
|
||||
State(..)
|
||||
) where
|
||||
|
||||
import BackendType
|
||||
import GitRepo
|
||||
|
||||
-- git-annex's runtime state
|
||||
data State = State {
|
||||
repo :: GitRepo,
|
||||
backends :: [Backend]
|
||||
}
|
Loading…
Reference in a new issue