Documentation
¶
Index ¶
- type AdvanceTime
- type BranchAndCheckout
- type Checkout
- type CheckoutTag
- type Commit
- type InitRepo
- type NewFile
- type RepoOperation
- type RepoState
- func (state *RepoState) WithDefaultAdvanceTime(duration time.Duration) *RepoState
- func (state *RepoState) WithDefaultAuthor(name, email string) *RepoState
- func (state *RepoState) WithDefaultBranch(name string) *RepoState
- func (state *RepoState) WithNow(now time.Time) *RepoState
- func (state *RepoState) WithPath(path string) *RepoState
- type SetDefaultBranch
- type Tag
- type TagAnnotated
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdvanceTime ¶
type BranchAndCheckout ¶
type CheckoutTag ¶ added in v0.3.0
type CheckoutTag struct {
Name string
}
type RepoOperation ¶
type RepoState ¶
type RepoState struct {
Path string
Repo *git.Repository
Worktree *git.Worktree
LastHash plumbing.Hash
Now time.Time
DefaultAuthor object.Signature
DefaultBranch string
DefaultAdvanceTime time.Duration
}
func NewRepoState ¶
func NewRepoState() *RepoState
func (*RepoState) WithDefaultAdvanceTime ¶
func (*RepoState) WithDefaultAuthor ¶
func (*RepoState) WithDefaultBranch ¶
type SetDefaultBranch ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.