gitignore

package
v0.0.0-...-e560ebb Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package gitignore implements .gitignore check predicate.

Uses only checked in .gitignore files, ignoring any globals.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExcluder

func NewExcluder(dir string) (fileset.Excluder, error)

NewExcluder returns a predicate that checks whether the given absolute path under given `dir` is excluded by some .gitignore file which is active in that directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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