ui

package
v0.4.16-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: ISC Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ui

func Ui(repository *storage.Repository, addr string, spawn bool) error

Types

type SnapshotSummary

type SnapshotSummary struct {
	Header      *header.Header
	Roots       uint64
	Directories uint64
	Files       uint64
	NonRegular  uint64
	Pathnames   uint64
	Objects     uint64
	Chunks      uint64

	Size uint64
}

func SnapshotToSummary

func SnapshotToSummary(snapshot *snapshot.Snapshot) *SnapshotSummary

func (*SnapshotSummary) HumanSize

func (summary *SnapshotSummary) HumanSize() string

type TemplateFunctions

type TemplateFunctions struct {
	HumanizeBytes func(uint64) string
}

Jump to

Keyboard shortcuts

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