cmdmirror

package
v0.21.7 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package cmdmirror implements the "ffs mirror" subcommand.

Index

Constants

This section is empty.

Variables

View Source
var Command = &command.C{
	Name: "mirror",
	Help: `Mirror files and roots between stores.

Transfer all the file and root objects between the source and target stores.
Unlike "sync", this transfers all objects, and does not consider reachability.

Exactly one of --to and --from must be set.
If --to=target is set, objects are copied from --store to the specified target;
if --from=source is set, objects are copied from source to the --store.`,

	SetFlags: command.Flags(flax.MustBind, &mirrorFlags),
	Run:      command.Adapt(runMirror),
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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