Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GitDirectory ¶
GitDirectory returns the .git directory for a given directory
func SplitMessage ¶
SplitMessage splits a git message
Types ¶
type Config ¶
type Config struct {
Prefixes []*Prefix
Path string
Origin string
Commit string
Target string
GitVersion string
Debug bool
Scratch bool
// for advanced usage only
// naming and types subject to change anytime!
Logger *log.Logger
DB *bolt.DB
RepoMu *sync.Mutex
Repo *git.Repository
Git int
}
Config represents a split configuration
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
Result represents the outcome of a split
Click to show internal directories.
Click to hide internal directories.