streams

package
v0.0.0-...-a8d0bc3 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2016 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func File

func File(p string) (io.ReadCloser, error)

func Folder

func Folder(p string) (io.ReadCloser, error)

func Git

func Git(p, ref string) (io.ReadCloser, error)

Git returns an io.ReadCloser of a repo as a tar.gz

func GitHead

func GitHead(p string) (io.ReadCloser, error)

func PickStream

func PickStream(p string) (io.ReadCloser, error)

Types

type StreamFunc

type StreamFunc func(path string) (io.ReadCloser, error)

func GitRef

func GitRef(ref string) StreamFunc

Jump to

Keyboard shortcuts

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