walkdir

package
v0.2.38 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(dirname string, options *Options)

Walk 遍历目录

Types

type Options

type Options struct {
	Callback     WalkFunc
	Filter       []string //Filter files
	LocationPath string
	RemotePath   string
}

Options

type WalkFunc

type WalkFunc func(pathName, fileName, fullName, LocationPath, RemotePath string)

Jump to

Keyboard shortcuts

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