service

package
v0.2.5-dev Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PruneFreeSpaceRequired uint64 = 50 * 1024 * 1024 * 1024
)

Settings

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(app *cli.App, name string, aliases []string)

Register commands

func SyncRatioToPercent

func SyncRatioToPercent(in float64) float64

When printing sync percents, we should avoid printing 100%. This function is only called if we're still syncing, and the `%0.2f` token will round up if we're above 99.99%.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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