btrfstree

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: LGPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Btrfstree is a widget that displays a tree of btrfs subvolumes and snapshots.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BtrfsTree

type BtrfsTree struct {
	*widget.Tree
	// contains filtered or unexported fields
}

func New

func New(conf *config.Config) (*BtrfsTree, error)

func (*BtrfsTree) ChildUIDs

func (b *BtrfsTree) ChildUIDs(uid widget.TreeNodeID) []widget.TreeNodeID

func (*BtrfsTree) CreateNode

func (b *BtrfsTree) CreateNode(isBranch bool) fyne.CanvasObject

func (*BtrfsTree) IsBranch

func (b *BtrfsTree) IsBranch(uid widget.TreeNodeID) bool

func (*BtrfsTree) UpdateNode

func (b *BtrfsTree) UpdateNode(uid widget.TreeNodeID, isBranch bool, node fyne.CanvasObject)

Jump to

Keyboard shortcuts

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