dotfileignorematcher

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

New return new repository

Types

type Repository

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

Repository implements generator.RegexpRepository

func (*Repository) Match

func (r *Repository) Match(path string) bool

Match return true if path IS NOT A DOTFILE when ignoreDotFiles is true, or else, return true

func (*Repository) Prepare

Prepare set ignoreDotFiles from flag

Jump to

Keyboard shortcuts

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