ignores

package module
v0.0.0-...-487a757 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2015 License: MIT Imports: 3 Imported by: 1

README

ignores

GoDoc

Ignores produces a list of files to ignore based on the contents of a specified file. Functions similar to .gitignore.

License

ignores is MIT licensed, details can be found here.

Documentation

Overview

Package ignores produces a list of files to ignore based on the contents of a specified file. Functions similar to .gitignore.

Index

Constants

This section is empty.

Variables

View Source
var (
	// VersionControlSystems is a list of version control system directories
	// that should be ignored.
	VersionControlSystems = []string{".hg", ".git", ".svn", ".bzr"}
)

Functions

func Get

func Get(path string, ignores ...string) ([]string, error)

Get retrieves a list of paths to ignore in the directory the given ignore file lives in. A set of default ignores may be given.

Types

This section is empty.

Jump to

Keyboard shortcuts

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