Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddFolderScreen ¶
type AddFolderScreen struct {
// contains filtered or unexported fields
}
Add folder screen
func InitializeAddFolderScreen ¶
func InitializeAddFolderScreen(vault *tlockvault.Vault) AddFolderScreen
Initialize add folder scree
func (AddFolderScreen) Update ¶
func (screen AddFolderScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)
Update
type DeleteFolderScreen ¶
type DeleteFolderScreen struct {
// contains filtered or unexported fields
}
Delete folder screen
func InitializeDeleteFolderScreen ¶
func InitializeDeleteFolderScreen(folder tlockvault.Folder, vault *tlockvault.Vault) DeleteFolderScreen
Initialize root model
func (DeleteFolderScreen) Update ¶
func (screen DeleteFolderScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)
Update
type EditFolderScreen ¶
type EditFolderScreen struct {
// contains filtered or unexported fields
}
Edit folder screen
func InitializeEditFolderScreen ¶
func InitializeEditFolderScreen(folder tlockvault.Folder, vault *tlockvault.Vault) EditFolderScreen
Initialize edit folder screen
func (EditFolderScreen) Update ¶
func (screen EditFolderScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)
Update
type Folders ¶
type Folders struct {
// contains filtered or unexported fields
}
Folders
func InitializeFolders ¶
func InitializeFolders(vault *tlockvault.Vault, context *context.Context) Folders
Initializes a new instance of folders
func (Folders) Focused ¶
func (folders Folders) Focused() *tlockvault.Folder
Returns the focused folder item
func (*Folders) Update ¶
func (folders *Folders) Update(msg tea.Msg, manager *modelmanager.ModelManager) tea.Cmd
Handles update messages
Click to show internal directories.
Click to hide internal directories.