fswalker

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 5 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizePath

func NormalizePath(path string) string

NormalizePath normalizes a given path

func Walk

func Walk(root string) <-chan WalkItem

Walk : walks recursively through the FS

Types

type WalkItem

type WalkItem struct {
	Dirpath string
	Dirs    []os.FileInfo
	Files   []os.FileInfo
	Err     error
}

WalkItem returned by the Walk method

Jump to

Keyboard shortcuts

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