gddl

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Repositories map[string]string

Functions

func CheckExists added in v1.0.0

func CheckExists(repository string, directory string, fileName string) (*string, *drive.File, error)

func DownloadAndSave

func DownloadAndSave(path string, repository string, directory string, fileName string, saveForce bool, unfreeze bool) error

func GetFileSize

func GetFileSize(repository string, directory string, fileName string) (int64, error)

func ListDirectory

func ListDirectory(repository string) ([]string, error)

func ListFiles

func ListFiles(repository string, directory string) ([]string, error)

func ListRepository

func ListRepository() []string

func Rev added in v1.0.4

func Rev(s string) string

func Upload added in v1.0.0

func Upload(path string, repository string, directory string, fileOrFolderName string, fileForceCompress bool) error

Types

type ConfigList

type ConfigList struct {
	CredentialUrl     string
	RepositoryInfoUrl string
}
var Config ConfigList

Jump to

Keyboard shortcuts

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