find

package
Version: v0.0.0-...-c97c800 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 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

Source Files

Jump to

Keyboard shortcuts

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