util

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2017 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(root string, filename string, excludes []string) error

Archive makes a tar.gz file consists of file tree

func Basename

func Basename(filename string) string

Basename computes the basename of a given filename.

func CreateURL

func CreateURL(bucket, group, name string) *url.URL

CreateURL creates a valid URL for uploaing object.

func GetContext added in v0.3.4

func GetContext(c *cli.Context) context.Context

GetContext returns a context from cli.Context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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