Help us shape the future of Go! Take the 2026 Go Developer Survey

lsdir

package module
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

README

lsdir

recursive file listing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lister

type Lister interface {
	// lister lists files in paths
	List(paths ...string) ([]string, error)
}

Lister defines the interface of a file lister

func NewLister

func NewLister(recurse bool, pattern string) Lister

New creates a new instance of lister using a pattern that matches using shell wildcards (and not regexp). recurse indicates if recursive search is on.

Jump to

Keyboard shortcuts

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