readdir

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadDir

func ReadDir(dirname string) ([]fs.FileInfo, error)

ReadDir is a faster version of ioutil.ReadDir that uses os.ReadDir and returns a wrapper around fs.FileInfo.

This is roughly 3.5-4x faster than ioutil.ReadDir and is used heavily by the build.Context when importing packages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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