util

package
v1.14.2 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindGitRepositoryRoot

func FindGitRepositoryRoot() (string, error)

func FuncMap added in v1.14.0

func FuncMap() template.FuncMap

func IsBaseFilename added in v1.2.0

func IsBaseFilename(filePath string) bool

func IsRelativePath added in v1.2.0

func IsRelativePath(filePath string) bool

Types

type IgnoreContext

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

func NewIgnoreContext

func NewIgnoreContext(ignoreFilename string) IgnoreContext

func (IgnoreContext) ShouldIgnore

func (i IgnoreContext) ShouldIgnore(path string, fi os.FileInfo) bool

Jump to

Keyboard shortcuts

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