file_storage

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FileShareActionDelete = iota
	FileShareActionRename
	FileShareActionExtend
)

Action indices for file share detail view

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailView

type DetailView struct {
	views.BaseView
	// contains filtered or unexported fields
}

DetailView displays file storage share details with actions.

func NewDetailView

func NewDetailView(ctx *views.Context, share map[string]interface{}) *DetailView

NewDetailView creates a detail view for a file share.

func (*DetailView) HandleKey

func (v *DetailView) HandleKey(msg tea.KeyMsg) tea.Cmd

HandleKey processes keyboard input and returns a command.

func (*DetailView) HelpText

func (v *DetailView) HelpText() string

HelpText returns the footer help text.

func (*DetailView) Render

func (v *DetailView) Render(width, height int) string

Render displays the full detail panel.

func (*DetailView) Title

func (v *DetailView) Title() string

Title returns the header title.

type ExecuteFileShareActionMsg

type ExecuteFileShareActionMsg struct {
	Share  map[string]interface{}
	Action int
	Param  string
}

ExecuteFileShareActionMsg is dispatched when the user confirms an action.

Jump to

Keyboard shortcuts

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