glob

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package glob provides file globbing for use in nfpm.Packager implementations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Glob

func Glob(glob, dst string) (map[string]string, error)

Glob returns a map with source file path as keys and destination as values. First the longest common prefix (lcp) of all globbed files is found. The destination for each globbed file is then dst joined with src with the lcp trimmed off.

Types

This section is empty.

Jump to

Keyboard shortcuts

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