crosslink

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Crosslink(rc RunConfig) error

func Prune

func Prune(rc RunConfig) error

main entry point for the Prune subcommand.

func Work added in v0.8.0

func Work(rc RunConfig) error

Work is the main entry point for the work subcommand.

Types

type RunConfig

type RunConfig struct {
	RootPath      string
	Verbose       bool
	ExcludedPaths map[string]struct{}
	SkippedPaths  map[string]struct{}
	Overwrite     bool
	Prune         bool
	GoVersion     string
	Logger        *zap.Logger
}

func DefaultRunConfig

func DefaultRunConfig() RunConfig

Jump to

Keyboard shortcuts

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