Versions in this module Expand all Collapse all v0 v0.1.3 Oct 10, 2026 v0.1.2 Sep 25, 2026 Changes in this version + func DefaultContextCacheDir(workDir, repoID string) string + type Client struct + Cred auth.Credential + func (c *Client) EnsureCheckout(ctx context.Context, remoteURL, dst, targetSHA string) error + func (c *Client) Head(ctx context.Context, dst string) (string, error) + func (c *Client) ResolveBranchHead(ctx context.Context, remoteURL, branch string) (string, error) + type HeadDriftError struct + Destination string + Expected string + Observed string + func (e *HeadDriftError) Error() string