file

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MUpload = app_msg.Apply(&MsgUpload{}).(*MsgUpload)
)

Functions

This section is empty.

Types

type Download

type Download struct {
	Context     dbx_context.Context
	Delete      bool
	Overwrite   bool
	LocalPath   mo_path2.FileSystemPath
	DropboxPath mo_path.DropboxPath
	Downloaded  rp_model.TransactionReport
	Skipped     rp_model.TransactionReport
	Deleted     rp_model.RowReport
	Summary     rp_model.RowReport
	Name        mo_filter.Filter
}

func (*Download) Exec

func (z *Download) Exec(c app_control.Control) error

func (*Download) Preset

func (z *Download) Preset()

func (*Download) Test

func (z *Download) Test(c app_control.Control) error

type MsgUpload

type MsgUpload struct {
	SkipExists app_msg.Message
	SkipFilter app_msg.Message
	SkipSame   app_msg.Message
	SkipOther  app_msg.Message
}

type Online

type Online struct {
	Context   dbx_context.Context
	Delete    bool
	Overwrite bool
	SrcPath   mo_path.DropboxPath
	DstPath   mo_path.DropboxPath
	Uploaded  rp_model.TransactionReport
	Skipped   rp_model.TransactionReport
	Deleted   rp_model.RowReport
	Summary   rp_model.RowReport
	Name      mo_filter.Filter
}

func (*Online) Exec

func (z *Online) Exec(c app_control.Control) error

func (*Online) Preset

func (z *Online) Preset()

func (*Online) Test

func (z *Online) Test(c app_control.Control) error

type Status

type Status struct {
	// contains filtered or unexported fields
}

type Summary

type Summary struct {
	Start               time.Time `json:"start"`
	End                 time.Time `json:"end"`
	NumBytes            int64     `json:"num_bytes"`
	NumFilesError       int64     `json:"num_files_error"`
	NumFilesTransferred int64     `json:"num_files_transferred"`
	NumFilesSkip        int64     `json:"num_files_skip"`
	NumFolderCreated    int64     `json:"num_folder_created"`
	NumDeleted          int64     `json:"num_delete"`
	NumApiCall          int64     `json:"num_api_call"`
}

type SyncRow

type SyncRow struct {
	File string `json:"file"`
	Size int64  `json:"size"`
}

type Upload

type Upload struct {
	Context     dbx_context.Context
	Delete      bool
	Overwrite   bool
	BatchSize   int
	LocalPath   mo_path2.FileSystemPath
	DropboxPath mo_path.DropboxPath
	Uploaded    rp_model.TransactionReport
	Skipped     rp_model.TransactionReport
	Deleted     rp_model.RowReport
	Summary     rp_model.RowReport
	Name        mo_filter.Filter
}

func (*Upload) Exec

func (z *Upload) Exec(c app_control.Control) error

func (*Upload) Preset

func (z *Upload) Preset()

func (*Upload) Test

func (z *Upload) Test(c app_control.Control) error

Jump to

Keyboard shortcuts

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