folders

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2024 License: MIT Imports: 18 Imported by: 0

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) Init

func (screen AddFolderScreen) Init() tea.Cmd

Init

func (AddFolderScreen) Update

func (screen AddFolderScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)

Update

func (AddFolderScreen) View

func (screen AddFolderScreen) View() string

View

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) Init

func (screen DeleteFolderScreen) Init() tea.Cmd

Init

func (DeleteFolderScreen) Update

func (screen DeleteFolderScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)

Update

func (DeleteFolderScreen) View

func (screen DeleteFolderScreen) View() string

View

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) Init

func (screen EditFolderScreen) Init() tea.Cmd

Init

func (EditFolderScreen) Update

func (screen EditFolderScreen) Update(msg tea.Msg, manager *modelmanager.ModelManager) (modelmanager.Screen, tea.Cmd)

Update

func (EditFolderScreen) View

func (screen EditFolderScreen) View() string

View

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

func (Folders) View

func (folders Folders) View() string

View

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL