Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2023 Changes in this version + const Block + const Char + const Dir + const EBlock + const EChar + const EDir + const EFifo + const EFil + const ESock + const ESym + const Fifo + const Fil + const Sock + const Sym + type Device struct + Dev uint32 + LinkCount uint32 + func ReadDevice(r io.Reader) (d Device, err error) + type Directory struct + BlockStart uint32 + LinkCount uint32 + Offset uint16 + ParentNum uint32 + Size uint16 + func ReadDir(r io.Reader) (d Directory, err error) + type DirectoryIndex struct + Name []byte + type EDevice struct + XattrInd uint32 + func ReadEDevice(r io.Reader) (d EDevice, err error) + type EDirectory struct + Indexes []DirectoryIndex + func ReadEDir(r io.Reader) (d EDirectory, err error) + type EFile struct + BlockSizes []uint32 + func ReadEFile(r io.Reader, blockSize uint32) (f EFile, err error) + type EIPC struct + XattrInd uint32 + func ReadEIPC(r io.Reader) (i EIPC, err error) + type ESymlink struct + Target []byte + XattrInd uint32 + func ReadESym(r io.Reader) (s ESymlink, err error) + type File struct + BlockSizes []uint32 + func ReadFile(r io.Reader, blockSize uint32) (f File, err error) + type Header struct + GidInd uint16 + ModTime uint32 + Num uint32 + Perm uint16 + Type uint16 + UidInd uint16 + type IPC struct + LinkCount uint32 + func ReadIPC(r io.Reader) (i IPC, err error) + type Inode struct + Data any + func Read(r io.Reader, blockSize uint32) (i *Inode, err error) + func (i Inode) LinkCount() uint32 + func (i Inode) Mode() (out fs.FileMode) + func (i Inode) Size() uint64 + type Symlink struct + Target []byte + func ReadSym(r io.Reader) (s Symlink, err error)