util

package
v0.0.0-...-777a9a1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 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

func FuncMap() template.FuncMap

func IsBaseFilename

func IsBaseFilename(filePath string) bool

func IsRelativePath

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