status

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2020 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FilterOptions added in v1.2.2

type FilterOptions struct {
	StagingOnly  bool
	WorktreeOnly bool
}

type Result

type Result struct {
	// contains filtered or unexported fields
}

func Status

func Status(ctx context.Context, repository *git.Repository, repositoryAbsFilepath string, pathMatcher path_matcher.PathMatcher) (*Result, error)

func (*Result) FilePathList added in v1.2.2

func (r *Result) FilePathList(options FilterOptions) []string

FilePathList method returns file paths relative to the main repository

func (*Result) IsEmpty

func (r *Result) IsEmpty(options FilterOptions) bool

func (*Result) Status

func (r *Result) Status(ctx context.Context, pathMatcher path_matcher.PathMatcher) (*Result, error)

type SubmoduleResult

type SubmoduleResult struct {
	*Result
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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