torrents

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = cli.Command{
	Action: func(cliCtx *cli.Context) error {
		return torrents(cliCtx, "list")
	},
	Name:  "torrent",
	Usage: "torrent utilities",
	Subcommands: []*cli.Command{
		{
			Action: func(cliCtx *cli.Context) error {
				return torrents(cliCtx, "list")
			},
			Name:      "list",
			Usage:     "list torrents available at the specified storage location",
			ArgsUsage: "<location>",
		},
		{
			Action: func(cliCtx *cli.Context) error {
				return torrents(cliCtx, "hashes")
			},
			Name:      "hashes",
			Usage:     "list the hashes (in toml format) at the specified storage location",
			ArgsUsage: "<location> <start block> <end block>",
		},
		{
			Action: func(cliCtx *cli.Context) error {
				return torrents(cliCtx, "update")
			},
			Name:      "update",
			Usage:     "update re-create the torrents for the contents available at its storage location",
			ArgsUsage: "<location> <start block> <end block>",
		},
		{
			Action: func(cliCtx *cli.Context) error {
				return torrents(cliCtx, "verify")
			},
			Name:      "verify",
			Usage:     "verify that manifest contents are available at its storage location",
			ArgsUsage: "<location> <start block> <end block>",
		},
	},
	Flags: []cli.Flag{
		&utils.DataDirFlag,
		&logging.LogVerbosityFlag,
		&logging.LogConsoleVerbosityFlag,
		&logging.LogDirVerbosityFlag,
	},
	Description: ``,
}

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