input

package
v0.0.0-...-4568a39 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Targets

type Targets struct {
	// contains filtered or unexported fields
}

Targets allows to specify a list of target files on an arbitrary filesystem

func FromGit

func FromGit(url string, selectors []string) (*Targets, error)

FromGit creates a Target for files in a git repository

func Local

func Local(selectors []string) (*Targets, error)

Local creates a Target for files on the local filesystem

func (*Targets) Files

func (t *Targets) Files() <-chan billy.File

Files returns all files scoped by the object via a channel User has to close files after usage Channel is closed when all files have been sent

Jump to

Keyboard shortcuts

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