find

package module
v0.0.0-...-8baa4f4 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

README

find

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IncludeHidden = false
View Source
var SkipDot = true

Functions

func At

func At(dir string, filters ...Filter) (files []string)

func Dir

func Dir(d fs.DirEntry) (bool, error)

func NotDir

func NotDir(d fs.DirEntry) (bool, error)

Types

type Filter

type Filter func(fs.DirEntry) (bool, error)

Filter returns true, nil -> let through false, error -> skip, error can be fs.SkipDir

func Or

func Or(filters ...Filter) Filter

func Suffix

func Suffix(ext ...string) Filter

Jump to

Keyboard shortcuts

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