checkout

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package checkout creates independent worktrees using a shared git object cache.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, repo, base, cacheRoot, root string, warnings io.Writer) (string, error)

Run clones repo under root, retaining no dependency on the cache volume.

func ValidateRepo

func ValidateRepo(repo string) error

ValidateRepo accepts a host/owner/repo identity safe for URLs and local paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL