Versions in this module Expand all Collapse all v1 v1.1.2 Apr 3, 2024 v1.1.1 Apr 3, 2024 Changes in this version + func NewFileWritable(file vfs.File) objstorage.Writable + func NewRemoteWritable(obj io.WriteCloser) objstorage.Writable + func Open(settings Settings) (objstorage.Provider, error) + func TestingCheckMaxReadahead(rh objstorage.ReadHandle) bool + func UsePreallocatedReadHandle(ctx context.Context, readable objstorage.Readable, rh *PreallocatedReadHandle) objstorage.ReadHandle + type PreallocatedReadHandle struct + func (rh *PreallocatedReadHandle) Close() error + func (rh *PreallocatedReadHandle) ReadAt(_ context.Context, p []byte, offset int64) error + func (rh *PreallocatedReadHandle) RecordCacheHit(_ context.Context, offset, size int64) + func (rh *PreallocatedReadHandle) SetupForCompaction() + type Settings struct + BytesPerSync int + FS vfs.FS + FSCleaner base.Cleaner + FSDirInitialListing []string + FSDirName string + Logger base.Logger + NoSyncOnClose bool + Remote struct{ ... } + func DefaultSettings(fs vfs.FS, dirName string) Settings