Documentation ¶
Index ¶
- func MkBuf(b []byte) *vm.Fakeubuf_t
- func MkDisk(disk string, images []string, nlogblks, ninodeblks, ndatablks int)
- func ShutdownFS(ufs *Ufs_t)
- func Tell(f *os.File) int
- type Ufs_t
- func (ufs *Ufs_t) Append(p ustr.Ustr, ub *vm.Fakeubuf_t) defs.Err_t
- func (ufs *Ufs_t) Evict()
- func (ufs *Ufs_t) Ls(p ustr.Ustr) (map[string]*stat.Stat_t, defs.Err_t)
- func (ufs *Ufs_t) MkDir(p ustr.Ustr) defs.Err_t
- func (ufs *Ufs_t) MkFile(p ustr.Ustr, ub *vm.Fakeubuf_t) defs.Err_t
- func (ufs *Ufs_t) Read(p ustr.Ustr) ([]byte, defs.Err_t)
- func (ufs *Ufs_t) Rename(oldp, newp ustr.Ustr) defs.Err_t
- func (ufs *Ufs_t) Sizes() (int, int)
- func (ufs *Ufs_t) Stat(p ustr.Ustr) (*stat.Stat_t, defs.Err_t)
- func (ufs *Ufs_t) Statistics() string
- func (ufs *Ufs_t) Sync() defs.Err_t
- func (ufs *Ufs_t) SyncApply() defs.Err_t
- func (ufs *Ufs_t) Unlink(p ustr.Ustr) defs.Err_t
- func (ufs *Ufs_t) UnlinkDir(p ustr.Ustr) defs.Err_t
- func (ufs *Ufs_t) Update(p ustr.Ustr, ub *vm.Fakeubuf_t) defs.Err_t
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MkBuf ¶
func MkBuf(b []byte) *vm.Fakeubuf_t
func ShutdownFS ¶
func ShutdownFS(ufs *Ufs_t)
Types ¶
type Ufs_t ¶
type Ufs_t struct {
// contains filtered or unexported fields
}
func (*Ufs_t) Statistics ¶
Click to show internal directories.
Click to hide internal directories.