util

package
v0.0.0-...-d0717c5 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GitRepositoryRoot

func GitRepositoryRoot(path string) (string, error)

Types

type Ignores

type Ignores []gitignore.GitIgnore

func NewIgnores

func NewIgnores(baseDir string) (ignores Ignores, err error)

func (Ignores) Absolute

func (ignores Ignores) Absolute(path string, dir bool) (matches Matches)

type Matches

type Matches []gitignore.Match

func (Matches) Ignored

func (matches Matches) Ignored() bool

Jump to

Keyboard shortcuts

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