files

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToNixPath added in v1.10.3

func ToNixPath(path string) string

ToNixPath converts the given path to a nix-style path.

Windows-style path separators are considered escape characters by some libraries, which can cause issues.

Types

type FileToCopy

type FileToCopy struct {
	Source      string
	Destination string
}

FileToCopy describes the source and destination of one file to copy into a package.

func Expand

func Expand(filesSrcDstMap map[string]string, disableGlobbing bool) ([]FileToCopy, error)

Expand gathers all of the real files to be copied into the package.

Jump to

Keyboard shortcuts

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