packr: Index | Files | Directories

package file

import ""


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


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

Package file imports 5 packages (graph) and is imported by 9 packages. Updated 2020-03-09. Refresh now. Tools for package owners.