package file
import "github.com/gobuffalo/packr/v2/file"
Index ¶
- type File
- func NewDir(name string) (File, error)
- func NewFile(name string, b []byte) (File, error)
- func NewFileR(name string, r io.Reader) (File, error)
- type FileMappable
Types ¶
type File ¶
File represents a virtual, or physical, backing of a file object in a Box
func NewDir ¶
NewDir returns a virtual dir implementation
func NewFile ¶
NewFile returns a virtual File implementation
func NewFileR ¶
type FileMappable ¶
FileMappable types are capable of returning a map of path => File
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
file/resolver | |
file/resolver/encoding | |
file/resolver/encoding/hex | Package hex implements hexadecimal encoding and decoding. |
- Version
- v2.8.3 (latest)
- Published
- Nov 23, 2021
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.