operationsflags

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package operationsflags defines the flags used by rclone operations. It is decoupled into a separate package so it can be replaced.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLoggerFlags

func AddLoggerFlags(cmdFlags *pflag.FlagSet, opt *operations.LoggerOpt, flagsOpt *AddLoggerFlagsOptions)

AddLoggerFlags adds the logger flags to the cmdFlags command

Types

type AddLoggerFlagsOptions

type AddLoggerFlagsOptions struct {
	Combined     string // a file with file names with leading sigils
	MissingOnSrc string // files only in the destination
	MissingOnDst string // files only in the source
	Match        string // matching files
	Differ       string // differing files
	ErrFile      string // files with errors of some kind
	DestAfter    string // files that exist on the destination post-sync
}

AddLoggerFlagsOptions contains options for the Logger Flags

Jump to

Keyboard shortcuts

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