Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProjectNotFound = errors.New("project not found")
ErrProjectNotFound is returned when the project was not found
Functions ¶
func FindBestLinkMatch ¶ added in v0.9.0
Types ¶
type Project ¶
type Project struct { Path string // Local path of this project on disk // contains filtered or unexported fields }
Project represents a project whether it exists locally or not
func FindBestMatch ¶
func FindCurrent ¶
FindCurrent returns the project that contains the current directory
func NewFromPath ¶ added in v0.7.0
NewFromPath creates an instance of Project from the local path
func (*Project) GetRemoteURL ¶
GetRemoteURL builds the Git remote url for the project
Click to show internal directories.
Click to hide internal directories.