Documentation ¶
Index ¶
- type File
- func (f *File) CheckReservedLock() (retB bool, retErr error)
- func (f *File) CleanupSectors(meta *dynamo.FileMetaV1V2) error
- func (f *File) Close() error
- func (f *File) DeviceCharacteristics() sqlite3vfs.DeviceCharacteristic
- func (f *File) FileSize() (retSize int64, retErr error)
- func (f *File) Lock(elock sqlite3vfs.LockType) (retErr error)
- func (f *File) ReadAt(p []byte, off int64) (retN int, retErr error)
- func (f *File) SanityCheckSectors() error
- func (f *File) SectorSize() int64
- func (f *File) Sync(flag sqlite3vfs.SyncType) error
- func (f *File) Truncate(size int64) (retErr error)
- func (f *File) Unlock(elock sqlite3vfs.LockType) (retErr error)
- func (f *File) WriteAt(b []byte, off int64) (n int, err error)
- type Sector
- type SectorWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
func FileFromMeta ¶
func (*File) CheckReservedLock ¶
func (*File) CleanupSectors ¶
func (f *File) CleanupSectors(meta *dynamo.FileMetaV1V2) error
func (*File) DeviceCharacteristics ¶
func (f *File) DeviceCharacteristics() sqlite3vfs.DeviceCharacteristic
func (*File) SanityCheckSectors ¶
func (*File) SectorSize ¶
type SectorWriter ¶
type SectorWriter struct { F *File // contains filtered or unexported fields }
SectorWriter is a buffered writer for sectors. You must call flush() and check its error to ensure all sectors are actually written
func (*SectorWriter) DeleteSector ¶
func (w *SectorWriter) DeleteSector(s int64) error
func (*SectorWriter) Flush ¶
func (w *SectorWriter) Flush() error
func (*SectorWriter) WriteSector ¶
func (w *SectorWriter) WriteSector(s *Sector) error
Click to show internal directories.
Click to hide internal directories.