Documentation
¶
Index ¶
- func Format(c disk.Content, opt Options) error
- type Options
- type Volume
- func (v *Volume) CanWrite() bool
- func (v *Volume) Close() error
- func (v *Volume) CreateDir(path string) error
- func (v *Volume) CreateFile(path string) error
- func (v *Volume) Flush() error
- func (v *Volume) MkdirAll(path string) error
- func (v *Volume) Name() string
- func (v *Volume) OpenFile(path string, fork vfs.Fork, flag int) (vfs.File, error)
- func (v *Volume) ReadDir(path string) ([]vfs.FileInfo, error)
- func (v *Volume) Remove(path string) error
- func (v *Volume) Rename(oldpath, newpath string) error
- func (v *Volume) SetInfo(path string, info vfs.FileInfo) error
- func (v *Volume) Stat(path string) (vfs.FileInfo, error)
- func (v *Volume) VolumeLabel() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
Volume is a classic HFS filesystem (machfs in-memory catalog, flushed to disk.Content). Forks are vfs.ContentFile over the in-memory node buffers.
func (*Volume) CreateFile ¶
func (*Volume) VolumeLabel ¶
Click to show internal directories.
Click to hide internal directories.