Documentation
¶
Overview ¶
Package repos holds the rules of a repository that the store keeps.
Index ¶
Constants ¶
const DefaultBranch = "main"
DefaultBranch is the ref that creation points at the root commit.
const Prefix = "native"
Prefix is the repository prefix of a repository that the store keeps.
Variables ¶
var ErrInvalidName = errors.New("repos: name must be 1 to 100 bytes with no control character")
Functions ¶
func NewPath ¶
func NewPath() string
NewPath mints the path of a repository: repo_ and random base32 text.
func RootObjects ¶
RootObjects returns the empty tree and a parentless commit of it, with the fixed author motte and at as the time.
Types ¶
This section is empty.