Documentation ¶
Index ¶
- Constants
- type DB
- func (d *DB) Close() error
- func (d *DB) Coalesce(ctx context.Context) error
- func (d *DB) Flush(ctx context.Context) error
- func (d *DB) Has(ctx context.Context, hash string) (exists bool, err error)
- func (d *DB) Iterate(ctx context.Context, ...) error
- func (d *DB) Lookup(ctx context.Context, hash string) (*manifest.Stream, error)
- func (d *DB) Put(ctx context.Context, hash string, data *manifest.Stream) error
- func (d *DB) Split(ctx context.Context) error
Constants ¶
View Source
const HashPrefix = "hash/"
View Source
const SmallHashsetSuffix = ".hs"
View Source
const SmallHashsetThreshold = 64 * 1024
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.