constants

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AuthFileName = "gdrive_auth_value.txt"
View Source
const DefaultCacheFileName = "file_cache.json"
View Source
const DefaultIgnoreFile = ".gdriveignore"
View Source
const DefaultMaxChanges = 100
View Source
const DefaultMaxFiles = 30
View Source
const DefaultNameWidth = 40
View Source
const DefaultPathWidth = 60
View Source
const DefaultQuery = "trashed = false and 'me' in owners"
View Source
const DefaultShareRole = "reader"
View Source
const DefaultShareType = "anyone"
View Source
const DefaultTimeout = 5 * 60
View Source
const DefaultUploadChunkSize = 8 * 1024 * 1024
View Source
const DirectoryMimeType = "application/vnd.google-apps.folder"
View Source
const HomeDir = "/home"
View Source
const MaxDrawInterval = time.Second * 1
View Source
const MaxErrorRetries = 5
View Source
const MaxRateInterval = time.Second * 3
View Source
const MinCacheFileSize = 5 * 1024 * 1024
View Source
const Name = "gdrive"
View Source
const TimeoutTimerInterval = time.Second * 10
View Source
const TokenFilename = "token_v2.json"
View Source
const Version = "2.1.1"

Variables

This section is empty.

Functions

This section is empty.

Types

type ConflictResolution

type ConflictResolution int
const (
	NoResolution ConflictResolution = iota
	KeepLocal
	KeepRemote
	KeepLargest
)

type LargestSize

type LargestSize int
const (
	LocalLargestSize LargestSize = iota
	RemoteLargestSize
	EqualSize
)

type ModTime

type ModTime int
const (
	LocalLastModified ModTime = iota
	RemoteLastModified
	EqualModifiedTime
)

Jump to

Keyboard shortcuts

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