Versions in this module Expand all Collapse all v1 v1.6.0 Jun 7, 2026 Changes in this version + const BorderPaddingForFooter + const CntFooterPanels + const ConfigDirPerm + const ConfigFilePerm + const ExtractedDirMode + const ExtractedFileMode + const FalseString + const LogFilePerm + const OsDarwin + const OsLinux + const OsWindows + const SidebarSectionDisks + const SidebarSectionHome + const SidebarSectionPinned + const TrueString + const UserDirPerm + const UserFilePerm + var SampleDataBytes = []byte("This is sample") + func CreateDirectories(dirs ...string) error + func CreateFiles(files ...string) error + func DetachFromTerminal(cmd *exec.Cmd) + func DirSize(path string) int64 + func ExecuteCommand(timeLimit time.Duration, cmdDir string, baseCmd string, args ...string) (int, string, error) + func ExecuteCommandInShell(timeLimit time.Duration, cmdDir string, shellCommand string) (int, string, error) + func FullFooterHeight(footerHeight int, toggleFooter bool) int + func FzfSearch(query string, source []string) []fzf.MatchResult + func InitJSONFile(path string) error + func LoadTomlFile(filePath string, defaultData string, target interface{}, fixFlag bool, ...) error + func PrintfAndExitf(format string, args ...any) + func PrintlnAndExit(args ...any) + func ReadBoolFile(path string, defaultValue bool) bool + func ReadFileContent(filepath string, maxLineLength int, previewLine int) (string, error) + func ResolveAbsPath(currentDir string, path string) string + func SetRootLoggerToDiscarded() + func SetRootLoggerToStdout(debug bool) + func SetupDirectories(t *testing.T, dirs ...string) + func SetupFiles(t *testing.T, files ...string) + func SetupFilesWithData(t *testing.T, data []byte, files ...string) + func TeaRuneKeyMsg(msg string) tea.KeyPressMsg + func WriteBoolFile(path string, value bool) error + func WriteTomlData(filePath string, data interface{}) error + type MissingFieldIgnorer interface + GetIgnoreMissingFields func() bool + type TestTOMLMissingIgnorerType struct + IgnoreMissing bool + SampleBool bool + SampleInt int + SampleSlice []string + SampleStr string + func (t TestTOMLMissingIgnorerType) GetIgnoreMissingFields() bool + func (t TestTOMLMissingIgnorerType) WithIgnoreMissing(val bool) TestTOMLMissingIgnorerType + type TestTOMLType struct + SampleBool bool + SampleInt int + SampleSlice []string + SampleStr string + type TomlLoadError struct + func (t *TomlLoadError) AddMessageAndError(msg string, err error) + func (t *TomlLoadError) Error() string + func (t *TomlLoadError) IsFatal() bool + func (t *TomlLoadError) MissingFields() bool + func (t *TomlLoadError) Unwrap() error + func (t *TomlLoadError) UpdateMessageAndError(msg string, err error) v1.6.0-rc1 May 27, 2026