find

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder struct {
	Root     string
	Pattern  string
	Match    func(string, string) (bool, error)
	Mode     os.FileMode
	ModeMask os.FileMode
	Debug    func(string, ...interface{})
	Names    chan *Name
}

func New

func New(opts ...Set) (*Finder, error)

func (*Finder) Find

func (f *Finder) Find()

type Name

type Name struct {
	Name string
	os.FileInfo
	Err error
}

type Set

type Set func(f *Finder) error

Jump to

Keyboard shortcuts

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