Documentation
¶
Overview ¶
Package project derives the identity of the project the process runs in. It is a leaf package so both the agent and its tools can share it without import cycles.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRemoteURL ¶
ParseRemoteURL extracts "org/repo" from an https or scp-style ssh git remote URL, returning "" when it does not match either form.
func RemoteName ¶
func RemoteName() string
RemoteName returns the "org/repo" name parsed from the origin remote URL, or "" when there is no repo/remote or the URL is unparsable.
Types ¶
Click to show internal directories.
Click to hide internal directories.