Documentation
¶
Index ¶
- func AppendEvent(root string, event Event) error
- func ClearLock(root string) error
- func Path(root string) string
- func Save(root string, store Store) error
- func WithLock(root, command string, fn func() error) error
- type Activity
- type Actor
- type Event
- type Lock
- type LockError
- type LockStatus
- type Status
- type Store
- type Worktree
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendEvent ¶
Types ¶
type LockError ¶ added in v0.2.0
type LockError struct {
Status LockStatus
}
type LockStatus ¶
type LockStatus struct {
Exists bool `json:"exists"`
Stale bool `json:"stale"`
Reason string `json:"reason"`
Lock Lock `json:"lock"`
}
func ClearStaleLock ¶ added in v0.2.0
func ClearStaleLock(root string) (LockStatus, bool, error)
func InspectLock ¶
func InspectLock(root string) (LockStatus, error)
type Store ¶
Click to show internal directories.
Click to hide internal directories.