Safe Haskell | None |
---|
- 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
Repo !String ![DarcsFlag] !RepoFormat !(RepoType p) |
Show (Repository p recordedstate unrecordedstate tentativestate) |
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
.