backup

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package backup provides formatted output helpers for the backup command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResultLine

func ResultLine(cmd *cobra.Command, scope, archive string, size int64, smbDest string)

ResultLine prints a single backup result with optional SMB destination.

Parameters:

  • cmd: Cobra command for output. Nil is a no-op.
  • scope: backup scope label (e.g. "project", "global").
  • archive: archive file path.
  • size: archive size in bytes.
  • smbDest: optional SMB destination (empty string skips).

Types

This section is empty.

Jump to

Keyboard shortcuts

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