local

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Acquire

func Acquire(root string) ([]source.RepoManifest, error)

Acquire discovers local repositories from a directory path.

func AcquireWithOptions added in v1.1.2

func AcquireWithOptions(ctx context.Context, root string, opts AcquireOptions) ([]source.RepoManifest, error)

Types

type AcquireOptions added in v1.1.2

type AcquireOptions struct {
	Progress ProgressReporter
}

type ProgressReporter added in v1.1.2

type ProgressReporter interface {
	PathDiscovery(root string, total int)
	PathRepo(root string, index, total int, repo string)
}

Jump to

Keyboard shortcuts

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