git

package
v1.15.18 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("cli",
	fx.Provide(
		fx.Annotate(
			NewGitOs,
			fx.As(new(Git)),
		),
	),
)

Functions

This section is empty.

Types

type Git

type Git interface {
	FindGitRoot(ctx context.Context, loc string) (string, error)
	ListTrackedFiles(ctx context.Context, loc string) ([]string, error)
}

func NewGitOs

func NewGitOs() Git

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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