| Safe Haskell | Safe-Infered |
|---|
Darcs.Repository.InternalTypes
- data Repository p recordedstate unrecordedstate tentativestate = Repo !String ![DarcsFlag] !RepoFormat !(RepoType p)
- data RepoType p = DarcsRepository !Pristine Cache
- data Pristine
- extractCache :: Repository p r u t -> Cache
- extractOptions :: Repository p r u t -> [DarcsFlag]
- modifyCache :: forall p r u t. RepoPatch p => Repository p r u t -> (Cache -> Cache) -> Repository p r u t
Documentation
data Repository p recordedstate unrecordedstate tentativestate Source
Constructors
| Repo !String ![DarcsFlag] !RepoFormat !(RepoType p) |
Instances
| Show (Repository p recordedstate unrecordedstate tentativestate) |
Constructors
| NoPristine | |
| PlainPristine | |
| HashedPristine |
extractCache :: Repository p r u t -> CacheSource
extractOptions :: Repository p r u t -> [DarcsFlag]Source
modifyCache :: forall p r u t. RepoPatch p => Repository p r u t -> (Cache -> Cache) -> Repository p r u tSource
modifyCache repository function modifies the cache of
repository with function, remove duplicates and sort the results with compareByLocality.