mirror of
https://github.com/charmbracelet/bubbles.git
synced 2026-07-22 11:39:28 -06:00
* feat: filepicker bubble * fix: bump bubbles to 1.16 * fix: allow customization of empty state * fix: change `Enter` to `Open` * fix: lint gomnd * fix: don't send msg, instead check if this update caused a selection
12 lines
218 B
Go
12 lines
218 B
Go
//go:build !windows
|
|
// +build !windows
|
|
|
|
package filepicker
|
|
|
|
import "strings"
|
|
|
|
// IsHidden reports whether a file is hidden or not.
|
|
func IsHidden(file string) (bool, error) {
|
|
return strings.HasPrefix(file, "."), nil
|
|
}
|