gitignore

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultFile = ".gitignore"

Variables

This section is empty.

Functions

func NewFsFromFile added in v0.0.2

func NewFsFromFile(base afero.Fs, path string) (afero.Fs, error)

func NewFsFromIgnore

func NewFsFromIgnore(base afero.Fs, ignore Ignore) afero.Fs

func NewFsFromLines added in v0.0.2

func NewFsFromLines(base afero.Fs, lines ...string) afero.Fs

func NewFsFromReader added in v0.0.2

func NewFsFromReader(base afero.Fs, reader io.Reader) (afero.Fs, error)

func OpenDefault added in v0.0.2

func OpenDefault(base afero.Fs) (afero.Fs, error)

Types

type Ignore

type Ignore = ignore.IgnoreParser

Jump to

Keyboard shortcuts

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