manifest

package
v1.9.7-0...-2fcf729 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Action: func(cliCtx *cli.Context) error {
		return manifest(cliCtx, "list")
	},
	Name:  "manifest",
	Usage: "manifest utilities",
	Subcommands: []*cli.Command{
		{
			Action: func(cliCtx *cli.Context) error {
				return manifest(cliCtx, "list")
			},
			Name:      "list",
			Usage:     "list manifest from storage location",
			ArgsUsage: "<location>",
		},
		{
			Action: func(cliCtx *cli.Context) error {
				return manifest(cliCtx, "update")
			},
			Name:      "update",
			Usage:     "update the manifest to match the files available at its storage location",
			ArgsUsage: "<location>",
		},
		{
			Action: func(cliCtx *cli.Context) error {
				return manifest(cliCtx, "verify")
			},
			Name:      "verify",
			Usage:     "verify that manifest matches the files available at its storage location",
			ArgsUsage: "<location>",
		},
	},
	Flags: []cli.Flag{
		&VersionFlag,
		&utils.DataDirFlag,
		&logging.LogVerbosityFlag,
		&logging.LogConsoleVerbosityFlag,
		&logging.LogDirVerbosityFlag,
	},
	Description: ``,
}
View Source
var (
	VersionFlag = cli.IntFlag{
		Name:     "version",
		Usage:    `Manifest file versions`,
		Required: false,
		Value:    0,
	}
)

Functions

func DownloadManifest

func DownloadManifest(ctx context.Context, session *downloader.RCloneSession) ([]fs.DirEntry, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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