find

package
v1.6.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2014 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(root string, ignorePatterns []string, follow bool, walkFn WalkFunc) error

Types

type FileInfo

type FileInfo struct {
	os.FileInfo
	// contains filtered or unexported fields
}

func (*FileInfo) IsDir

func (self *FileInfo) IsDir() bool
func (self *FileInfo) IsSymlink() bool

type Finder

type Finder struct {
	Out    chan *grep.Params
	Option *option.Option
}

func (*Finder) Find

func (self *Finder) Find(root string, pattern *pattern.Pattern)

type WalkFunc

type WalkFunc func(path string, info *FileInfo, depth int, ig ignore.Ignore, err error) (error, ignore.Ignore)

Jump to

Keyboard shortcuts

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