file

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2019 License: MIT Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File = packd.File

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

func NewDir

func NewDir(name string) (File, error)

NewDir returns a virtual dir implementation

func NewFile

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

NewFile returns a virtual File implementation

func NewFileR

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

type FileMappable

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

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

Directories

Path Synopsis
encoding/hex
Package hex implements hexadecimal encoding and decoding.
Package hex implements hexadecimal encoding and decoding.

Jump to

Keyboard shortcuts

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