fileutil

package
v0.411.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuzzyFilter added in v0.3.0

func FuzzyFilter(query string, items []string) []string

FuzzyFilter filters items by query using the same scoring algorithm as fzf. Results are sorted by match quality (best matches first).

func GlobWithDoublestar

func GlobWithDoublestar(pattern, searchPath string, limit int) ([]string, bool, error)

func SkipHidden

func SkipHidden(path string) bool

Types

type FileInfo

type FileInfo struct {
	Path    string
	ModTime time.Time
}

Jump to

Keyboard shortcuts

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