cmd

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 67 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.11.3"

Version is the CLI version. Overridden by goreleaser ldflags at release time.

Functions

func CleanableBytes

func CleanableBytes() int64

CleanableBytes calculates the total size of files that would be safe to clean right now. Called from the daemon heartbeat to report cleanable space. Excludes daemon.state.json (actively written while daemon runs) and recent resume files (< 7 days, needed for download resume).

func Execute

func Execute()

Execute runs the root command.

Types

type ReloadableConfig

type ReloadableConfig struct {
	Daemon *agent.Daemon
}

ReloadableConfig holds a reference to the daemon for hot-reload.

Jump to

Keyboard shortcuts

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