packr: github.com/gobuffalo/packr/v2/file Index | Files | Directories

package file

import "github.com/gobuffalo/packr/v2/file"

Index

Package Files

file.go info.go

type File Uses

type File = packd.File

File represents a virtual, or physical, backing of a file object in a Box

func NewDir Uses

func NewDir(name string) (File, error)

NewDir returns a virtual dir implementation

func NewFile Uses

func NewFile(name string, b []byte) (File, error)

NewFile returns a virtual File implementation

func NewFileR Uses

func NewFileR(name string, r io.Reader) (File, error)

type FileMappable Uses

type FileMappable interface {
    FileMap() map[string]File
}

FileMappable types are capable of returning a map of path => File

Directories

PathSynopsis
resolver
resolver/encoding/hexPackage hex implements hexadecimal encoding and decoding.

Package file imports 5 packages (graph) and is imported by 5 packages. Updated 2019-08-26. Refresh now. Tools for package owners.