darcs-2.8.4: a distributed, interactive, smart revision control system

Safe Haskell | None

Darcs.Repository.LowLevel

Synopsis

- readPending :: RepoPatch p => Repository p r u t -> IO (Sealed (FL (PrimOf p) t))
- readTentativePending :: RepoPatch p => Repository p r u t -> IO (Sealed (FL (PrimOf p) t))
- writeTentativePending :: RepoPatch p => Repository p r u t -> FL (PrimOf p) t y -> IO ()
- readNewPending :: RepoPatch p => Repository p r u t -> IO (Sealed (FL (PrimOf p) t))
- writeNewPending :: RepoPatch p => Repository p r u t -> FL (PrimOf p) t y -> IO ()
- pendingName :: RepoType p -> String

# Documentation

readPending :: RepoPatch p => Repository p r u t -> IO (Sealed (FL (PrimOf p) t))

Read the contents of pending. CWD should be the repository directory. The return type is currently incorrect as it refers to the tentative state rather than the recorded state.

readTentativePending :: RepoPatch p => Repository p r u t -> IO (Sealed (FL (PrimOf p) t))

Read the contents of tentative pending. CWD should be the repository directory.

writeTentativePending :: RepoPatch p => Repository p r u t -> FL (PrimOf p) t y -> IO ()

Read the contents of tentative pending. CWD should be the repository directory.

readNewPending :: RepoPatch p => Repository p r u t -> IO (Sealed (FL (PrimOf p) t))

Read the contents of tentative pending. CWD should be the repository directory.

writeNewPending :: RepoPatch p => Repository p r u t -> FL (PrimOf p) t y -> IO ()

Read the contents of new pending. CWD should be the repository directory.

pendingName :: RepoType p -> String