walker

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Walk

func Walk(root string, walkFn func(path string, typ os.FileMode) error) error

Walk is a helper function that will automatically skip the `.git` directory. fastwalk is a fork of code that is a better, faster version of filepath.Walk. tl;dr since filepath.Walk get a complete FileInfo for every file, it's inherently slow. See https://github.com/golang/go/issues/16399

Types

This section is empty.

Jump to

Keyboard shortcuts

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