transport

package
v0.0.0-...-22f80c9 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2016 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(dst, src string) error

Copy does what is says. Ignores errors on Close though.

func Exists

func Exists(loc string) bool

func FileRemove

func FileRemove(source string) error

func HttpGetFile

func HttpGetFile(client *http.Client, sourceURL, destinationFilename string) error

func HttpPostFile

func HttpPostFile(sourceFilename, destinationURL string) error

func IsDirectory

func IsDirectory(loc string) bool

func IsRegular

func IsRegular(loc string) bool

func IsTargz

func IsTargz(filenameOrExtension string) bool

func IsZip

func IsZip(filenameOrExtension string) bool

func Targz

func Targz(sourceDir, destinationFile string) error

func Untargz

func Untargz(sourceFile, destinationDir string) error

func Unzip

func Unzip(sourceFile, destinationDir string) error

func Zip

func Zip(sourceDir, destinationFile string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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