Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotARepoError = errors.New("not a git repository")
Functions ¶
func FindRepository ¶
func GetGitConfigFile ¶
func IsEmptyDirectory ¶
func WriteDefaultGitConfig ¶
Types ¶
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(path string, force bool) (*Repository, error)
func (Repository) Create ¶
func (repo Repository) Create() error
func (Repository) GetGitDirectoryPath ¶
func (repo Repository) GetGitDirectoryPath() string
func (Repository) GetWorkTreeDirectory ¶
func (repo Repository) GetWorkTreeDirectory() string
Click to show internal directories.
Click to hide internal directories.