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.
Click to show internal directories.
Click to hide internal directories.