Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FuzzyFilter ¶ added in v0.3.0
FuzzyFilter filters items by query using the same scoring algorithm as fzf. Results are sorted by match quality (best matches first).
func GlobWithDoublestar ¶
func IsSafeWorkingDirectory ¶ added in v0.412.3
IsSafeWorkingDirectory returns true when dir is safe to scan recursively. It returns false (unsafe) when dir is the filesystem root, the user's home directory, or any ancestor of the home directory, or when the directory contains no recognised project-marker file/folder.
The check is cross-platform: it uses os.SameFile for equality (handles symlinks and case-insensitive filesystems on Windows and macOS) and walks up from the home directory to detect ancestor paths correctly.
func SkipHidden ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.