Documentation ¶
Overview ¶
Package persistence stores Git Town runstate on disk.
Index ¶
- func Delete(repoDir gitdomain.RepoRootDir) error
- func FilePath(repoDir gitdomain.RepoRootDir) (string, error)
- func Load(repoDir gitdomain.RepoRootDir) (Option[runstate.RunState], error)
- func SanitizePath(dir gitdomain.RepoRootDir) string
- func Save(runState runstate.RunState, repoDir gitdomain.RepoRootDir) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Delete ¶
func Delete(repoDir gitdomain.RepoRootDir) error
Delete removes the stored run state from disk.
func Load ¶
func Load(repoDir gitdomain.RepoRootDir) (Option[runstate.RunState], error)
Load loads the run state for the given Git repo from disk. Returns None if there is no saved runstate.
func SanitizePath ¶
func SanitizePath(dir gitdomain.RepoRootDir) string
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.