Documentation
¶
Index ¶
- type DB
- func (db *DB) CleanupUnusedBinaryBlobs() (affected uint, err error)
- func (db *DB) CleanupUnusedDeduplicationBlobs() (affected uint, err error)
- func (db *DB) Close()
- func (db *DB) GetBlob(id uint) (data []byte, err error)
- func (db *DB) IsValid() bool
- func (db *DB) Maintenance(mayBlockReads bool) (err error)
- func (db *DB) MigrateModels() (err error)
- func (db *DB) RefreshModels() (err error)
- func (db *DB) SaveBlob(data []byte) (id uint, err error)
- func (db *DB) WithContext(ctx context.Context) *DB
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
func (*DB) CleanupUnusedBinaryBlobs ¶
func (*DB) CleanupUnusedDeduplicationBlobs ¶
func (*DB) RefreshModels ¶
RefreshModels
This can be used to refresh data, that is only generated on save (such as sizes for files)
Click to show internal directories.
Click to hide internal directories.