dropbox

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	B        = 1
	KB int64 = 1 << (10 * iota)
	MB
	GB
	TB
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Path           string `json:"path,omitempty"`
	Mode           string `json:"mode,omitempty"`
	Autorename     bool   `json:"autorename"`
	ClientModified string `json:"client_modified,omitempty"`
	Mute           string `json:"mute,omitempty"`
	StrictConflict bool   `json:"strict_conflict"`
	ContentHash    string `json:"content_hash,omitempty"`
}

type Cursor

type Cursor struct {
	Offset    int    `json:"offset"`
	SessionId string `json:"session_id"`
}

type Dropbox

type Dropbox struct {
	Path         string `yaml:"path"`
	RefreshToken string `yaml:"refreshtoken"`
	ClientId     string `yaml:"clientid"`
	ClientSecret string `yaml:"clientsecret"`
	// contains filtered or unexported fields
}

func (*Dropbox) Save

func (dropbox *Dropbox) Save(reader io.Reader, gzip bool, unique bool) error

Jump to

Keyboard shortcuts

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