Documentation ¶
Index ¶
- Constants
- type Ignorer
- func (ig *Ignorer) AddPatterns(patterns ...string) error
- func (ig *Ignorer) Ignore(path string) (ignore bool)
- func (ig *Ignorer) Open(name string) (f fs.File, err error)
- func (ig *Ignorer) ReadDir(name string) (result []fs.DirEntry, err error)
- func (ig *Ignorer) SetParent(parent *Ignorer)
- func (ig *Ignorer) Stat(name string) (info fs.FileInfo, err error)
- func (ig *Ignorer) WalkDir(root string, walkFunc fs.WalkDirFunc) (err error)
Constants ¶
View Source
const FileName = ".buildrignore"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ignorer ¶
type Ignorer struct {
// contains filtered or unexported fields
}
func MustNewIgnorer ¶
func (*Ignorer) AddPatterns ¶
Click to show internal directories.
Click to hide internal directories.