Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUploadCommand ¶
NewUploadCommand creates the root "upload" command and adds subcommands for each supported source. It registers flags and initializes the UpCmd struct, which holds the state for uploads.
Types ¶
type AdviceCode ¶
type AdviceCode int
- - go:generate stringer -type=AdviceCode
const ( IDontKnow AdviceCode = iota SmallerOnServer BetterOnServer SameOnServer NotOnServer AlreadyProcessed ForceUpload )
func (AdviceCode) String ¶
func (a AdviceCode) String() string
type UpCmd ¶
type UpCmd struct {
shared.StackOptions
NoUI bool // Disable UI
Overwrite bool // Always overwrite files on the server with local versions
Tags []string
SessionTag bool
Mode UpLoadMode
DebugCounters bool // Enable CSV action counters per file
// contains filtered or unexported fields
}
func (*UpCmd) DeleteServerAssets ¶
func (*UpCmd) RegisterFlags ¶
type UpLoadMode ¶
type UpLoadMode int
const ( UpModeGoogleTakeout UpLoadMode = iota UpModeFolder UpModeICloud UpModePicasa )
func (UpLoadMode) String ¶
func (m UpLoadMode) String() string
Click to show internal directories.
Click to hide internal directories.