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 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 )
Click to show internal directories.
Click to hide internal directories.