package ignorefile

import "github.com/moby/patternmatcher/ignorefile"

Index

Functions

func ReadAll

func ReadAll(reader io.Reader) ([]string, error)

ReadAll reads an ignore file from a reader and returns the list of file patterns to ignore, applying the following rules:

For remaining lines:

Source Files

ignorefile.go

Version
v0.6.0 (latest)
Published
Aug 22, 2023
Platform
js/wasm
Imports
5 packages
Last checked
1 month ago

Tools for package owners.