cli

package
v0.0.0-...-d89096d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(d *gdrive.Drive, fileId string) error

Delete file with given file id

func Download

func Download(d *gdrive.Drive, fileId string, stdout, deleteAfterDownload bool) error

Download file from drive

func DownloadLatest

func DownloadLatest(d *gdrive.Drive, stdout bool) error

func Folder

func Folder(d *gdrive.Drive, title string, parentId string, share bool) error

Create folder in drive

func Info

func Info(d *gdrive.Drive, fileId string) error

func List

func List(d *gdrive.Drive, query, titleFilter string, maxResults int, sharedStatus bool, noHeader bool) error

func Share

func Share(d *gdrive.Drive, fileId string) error

Make given file id readable by anyone -- auth not required to view/download file

func Unshare

func Unshare(d *gdrive.Drive, fileId string) error

Removes the 'anyone' permission -- auth will be required to view/download file

func Upload

func Upload(d *gdrive.Drive, input io.ReadCloser, title string, parentId string, share bool, mimeType string, convert bool) error

Upload file to drive

Types

This section is empty.

Jump to

Keyboard shortcuts

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