Documentation
¶
Index ¶
- func GetXfsFilesystem(rdr io.ReaderAt, size int64) (filesystem.FileSystem, error)
- type Qcow2Disk
- func (qd *Qcow2Disk) Close() error
- func (qd *Qcow2Disk) GetDisk() *disk.Disk
- func (qd *Qcow2Disk) GetFilesystem(part int) (filesystem.FileSystem, error)
- func (qd *Qcow2Disk) GetPartitionTable() (partition.Table, error)
- func (qd *Qcow2Disk) Info() string
- func (qd *Qcow2Disk) Read(out []byte) (int, error)
- func (qd *Qcow2Disk) ReadAt(out []byte, at int64) (int, error)
- func (qd *Qcow2Disk) Seek(offset int64, whence int) (int64, error)
- func (qd *Qcow2Disk) Stat() (fs.FileInfo, error)
- func (qd *Qcow2Disk) Sys() (*os.File, error)
- func (qd *Qcow2Disk) Writable() (backend.WritableFile, error)
- func (qd *Qcow2Disk) WriteAt(in []byte, off int64) (int, error)
- type XfsFilesystem
- func (fs *XfsFilesystem) Chmod(name string, mode os.FileMode) error
- func (fs *XfsFilesystem) Chown(name string, uid, gid int) error
- func (fs *XfsFilesystem) Close() error
- func (fs *XfsFilesystem) Label() string
- func (fs *XfsFilesystem) Link(oldpath, newpath string) error
- func (fs *XfsFilesystem) Mkdir(pathname string) error
- func (fs *XfsFilesystem) Mknod(pathname string, mode uint32, dev int) error
- func (fs *XfsFilesystem) OpenFile(pathname string, flag int) (filesystem.File, error)
- func (fs *XfsFilesystem) ReadDir(pathname string) ([]os.FileInfo, error)
- func (fs *XfsFilesystem) Remove(pathname string) error
- func (fs *XfsFilesystem) Rename(oldpath, newpath string) error
- func (fs *XfsFilesystem) SetLabel(label string) error
- func (fs *XfsFilesystem) Symlink(oldpath, newpath string) error
- func (fs *XfsFilesystem) Type() filesystem.Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetXfsFilesystem ¶
func GetXfsFilesystem(rdr io.ReaderAt, size int64) (filesystem.FileSystem, error)
Types ¶
type Qcow2Disk ¶
type Qcow2Disk struct {
// contains filtered or unexported fields
}
func (*Qcow2Disk) GetFilesystem ¶
func (qd *Qcow2Disk) GetFilesystem(part int) (filesystem.FileSystem, error)
func (*Qcow2Disk) GetPartitionTable ¶
type XfsFilesystem ¶
type XfsFilesystem struct {
// contains filtered or unexported fields
}
func (*XfsFilesystem) Close ¶
func (fs *XfsFilesystem) Close() error
func (*XfsFilesystem) Label ¶
func (fs *XfsFilesystem) Label() string
func (*XfsFilesystem) Link ¶
func (fs *XfsFilesystem) Link(oldpath, newpath string) error
func (*XfsFilesystem) Mkdir ¶
func (fs *XfsFilesystem) Mkdir(pathname string) error
func (*XfsFilesystem) Mknod ¶
func (fs *XfsFilesystem) Mknod(pathname string, mode uint32, dev int) error
func (*XfsFilesystem) OpenFile ¶
func (fs *XfsFilesystem) OpenFile(pathname string, flag int) (filesystem.File, error)
func (*XfsFilesystem) ReadDir ¶
func (fs *XfsFilesystem) ReadDir(pathname string) ([]os.FileInfo, error)
func (*XfsFilesystem) Remove ¶
func (fs *XfsFilesystem) Remove(pathname string) error
func (*XfsFilesystem) Rename ¶
func (fs *XfsFilesystem) Rename(oldpath, newpath string) error
func (*XfsFilesystem) SetLabel ¶
func (fs *XfsFilesystem) SetLabel(label string) error
func (*XfsFilesystem) Symlink ¶
func (fs *XfsFilesystem) Symlink(oldpath, newpath string) error
func (*XfsFilesystem) Type ¶
func (fs *XfsFilesystem) Type() filesystem.Type
Click to show internal directories.
Click to hide internal directories.