ui

package
v0.2.6-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: ISC Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ui

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

Types

type SnapshotSummary

type SnapshotSummary struct {
	Metadata *metadata.Metadata

	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