Versions in this module Expand all Collapse all v1 v1.4.0 May 6, 2026 v1.0.0 May 6, 2026 Changes in this version + const INVALID_HANDLE + type EBadRequest struct + Name string + Size int + func (e *EBadRequest) Error() string + type EClose struct + Err error + Name string + func (e *EClose) Error() string + type ECorrupted struct + Name string + Ofs int64 + func (e *ECorrupted) Error() string + type ECreate struct + Err error + Name string + func (e *ECreate) Error() string + type EFreeList struct + Block int64 + Name string + Size int64 + func (e *EFreeList) Error() string + type EHandle struct + Handle Handle + Name string + func (e EHandle) Error() string + type EHeader struct + Expected []byte + Header []byte + Name string + func (e *EHeader) Error() string + type ENullHandle string + func (e ENullHandle) Error() string + type EOpen struct + Err error + Name string + func (e *EOpen) Error() string + type ERead struct + Err error + Name string + Ofs int64 + func (e *ERead) Error() string + type ESize struct + Name string + Size int64 + func (e *ESize) Error() string + type EWrite struct + Err error + Name string + Ofs int64 + func (e *EWrite) Error() string + type File struct + func New(store storage.Accessor) (f *File, err error) + func Open(store storage.Accessor) (f *File, err error) + func (f *File) Accessor() storage.Accessor + func (f *File) Alloc(b []byte) (handle Handle, err error) + func (f *File) Close() (err error) + func (f *File) Free(handle Handle) (err error) + func (f *File) Lock() + func (f *File) LockedAlloc(b []byte) (handle Handle, err error) + func (f *File) LockedFree(handle Handle) (err error) + func (f *File) LockedRead(handle Handle) (b []byte, err error) + func (f *File) LockedRealloc(handle Handle, b []byte, keepHandle bool) (newhandle Handle, err error) + func (f *File) RLock() + func (f *File) RUnlock() + func (f *File) Read(handle Handle) (b []byte, err error) + func (f *File) Realloc(handle Handle, b []byte, keepHandle bool) (newhandle Handle, err error) + func (f *File) Root() Handle + func (f *File) Unlock() + type Handle int64 + func (h *Handle) Get(b []byte) + func (h Handle) Put(b []byte)