fileiter

package
v0.0.0-...-8cf3662 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IterationOption

type IterationOption = func(*Iterator)

func BreadthFirst

func BreadthFirst() IterationOption

type Iterator

type Iterator struct {
	// contains filtered or unexported fields
}

func New

func New(dir string, opts ...IterationOption) *Iterator

func (*Iterator) Dir

func (w *Iterator) Dir() string

func (*Iterator) Err

func (w *Iterator) Err() error

func (*Iterator) IsDir

func (w *Iterator) IsDir() bool

func (*Iterator) Name

func (w *Iterator) Name() string

func (*Iterator) Next

func (w *Iterator) Next() bool

func (*Iterator) SkipDir

func (w *Iterator) SkipDir()

Jump to

Keyboard shortcuts

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