Documentation
¶
Overview ¶
Package gitclone provides pinned local checkouts backed by git-pkgs/clone.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultContextCacheDir ¶
DefaultContextCacheDir returns a sibling cache directory for a work tree.
Types ¶
type Client ¶
type Client struct {
Cred auth.Credential
// contains filtered or unexported fields
}
Client materializes exact commit SHAs into local directories.
func (*Client) EnsureCheckout ¶
EnsureCheckout clones or updates dst to targetSHA (full commit or prefix).
type HeadDriftError ¶
HeadDriftError reports checkout verification failure.
func (*HeadDriftError) Error ¶
func (e *HeadDriftError) Error() string
Click to show internal directories.
Click to hide internal directories.