Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
ScanPath string
ScanOptions scanner.ScanOptions
ImportPath string
ExportPath string
Version string
// contains filtered or unexported fields
}
App is the root Bubble Tea model.
func NewApp ¶
func NewApp(scanPath string, opts scanner.ScanOptions) *App
NewApp creates a new App model.
func NewAppFromImport ¶
NewAppFromImport creates an App that loads from a JSON file.
func (*App) FatalError ¶ added in v1.2.4
FatalError returns a fatal scan/import error, if any.
type DeleteDoneMsg ¶
DeleteDoneMsg is sent when deletion completes.
type ExportDoneMsg ¶
ExportDoneMsg is sent when export completes.
type KeyMap ¶
type KeyMap struct {
Up key.Binding
Down key.Binding
Left key.Binding
Right key.Binding
Enter key.Binding
Back key.Binding
Mark key.Binding
Delete key.Binding
Export key.Binding
Rescan key.Binding
Quit key.Binding
ForceQuit key.Binding
Help key.Binding
// View switching
ViewTree key.Binding
ViewTreemap key.Binding
ViewFileType key.Binding
// Sort
SortSize key.Binding
SortName key.Binding
SortCount key.Binding
SortMtime key.Binding
// Toggles
ToggleApparent key.Binding
ToggleHidden key.Binding
// Confirm dialog
ConfirmYes key.Binding
ConfirmNo key.Binding
}
KeyMap holds all key bindings for the application.
type ScanDoneMsg ¶
ScanDoneMsg is sent when scanning completes.
Click to show internal directories.
Click to hide internal directories.