cli

package
v0.0.0-...-d9b1ad5 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2014 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)

Delete file with given file id

func Download

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

Download file from drive

func DownloadLatest

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

func Folder

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

Create folder in drive

func Info

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

func List

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

func Share

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

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

func Unshare

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

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)

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