Documentation ¶
Index ¶
- type Binary
- type FS
- func (fsv FS) At(i int) fs.DirEntry
- func (fsv FS) Close() error
- func (fsv FS) FS() fs.FS
- func (fsv FS) Folder() string
- func (fsv FS) Footer(i, width int, baseStyle lipgloss.Style) string
- func (fsv *FS) Init(fsys fs.FS, root, folder string) error
- func (fsv FS) Len(width int) int
- func (fsv FS) Render(i, width int, baseStyle lipgloss.Style) string
- func (fsv FS) Root() string
- func (fsv *FS) Select(i int, b bool)
- func (fsv FS) Selected(i int) bool
- func (fsv FS) Title() string
- func (fsv *FS) ToggleSelect(i int)
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary struct { io.ReadSeekCloser // contains filtered or unexported fields }
Binary manages the base logic of rendering binary data.
func NewBinary ¶
func NewBinary(rdr io.ReadSeekCloser) (*Binary, error)
NewBinary prepares binary data for rendering.
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is a viewer for a fs.FS.
func (*FS) ToggleSelect ¶
ToggleSelect toggles the selected flag at position i.
Click to show internal directories.
Click to hide internal directories.