Documentation
¶
Index ¶
- Constants
- func Fatal(err error) error
- func Fatalf(format string, args ...interface{}) error
- func IsFile(filename string) bool
- func MungeImage(dstFilename, srcFilename string, files []string) error
- type FileRecord
- type Image
- func (i *Image) AddFile(dstPathname, srcPathname string) error
- func (i *Image) Close() error
- func (i *Image) GetAttr(filename string) (ffs.DirectoryAttr, error)
- func (i *Image) Import(filename string) error
- func (i *Image) IsDir(name string) (bool, error)
- func (i *Image) Mkdir(pathname string) error
- func (i *Image) ReadFile(filename string) ([]byte, error)
- func (i *Image) ScanFiles() ([]FileRecord, error)
- func (i *Image) SetAttr(filename string, attr ffs.DirectoryAttr, state bool) error
Constants ¶
View Source
const MB = 1024 * 1024
View Source
const PAD_BYTES = 512
Variables ¶
This section is empty.
Functions ¶
func MungeImage ¶
Types ¶
type FileRecord ¶
Click to show internal directories.
Click to hide internal directories.