kuhnuri

package module
v0.0.0-...-6c6cb5a Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(file string) (*os.File, error)

func MkDirs

func MkDirs(dir string) error

func Unzip

func Unzip(zipFile Path, tempDir Path) error

func UploadFile

func UploadFile(outDirOrFile Path, output *url.URL) error

func Zip

func Zip(zipFile Path, tempDir Path) error

Types

type JarUri

type JarUri struct {
	Url   url.URL
	Entry string
}

func Parse

func Parse(u string) (*JarUri, error)

func (*JarUri) String

func (j *JarUri) String() string

type Path

type Path = string

func DownloadFile

func DownloadFile(input *url.URL, tempDir Path) (Path, error)

func WithExt

func WithExt(path Path, ext string) Path

Jump to

Keyboard shortcuts

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