impls

package
v0.0.0-...-8218a20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2022 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileBlockStore

func NewFileBlockStore(filename string, blockSize int64) (dedupdisk.BlockStore, error)

NewFileBlockStore constructs a dedupdisk.BlockStore backed by a simple file

func NewLZ4BlockStore

func NewLZ4BlockStore(filename string, blockSize int64) (dedupdisk.BlockStore, error)

NewLZ4BlockStore constructs a dedupdisk.BlockStore backed by a LZ4 compressed file. WIP... will return an error stating LZ4BlockStore is expirmental. lzbs exists in the source tree for educational purposes at the moment.

func NewMmapLUNmap

func NewMmapLUNmap(filename string, lunBlockSize int64, ifCreateSize int64) (dedupdisk.LUNMap, error)

NewMmapLUNmap contructs a dedupdisk.LUNMap implemented using a mem-mapped file

func NewPebbleIDStore

func NewPebbleIDStore(dbPath string, cacheBytes, bloomBitsPerEntry int) (dedupdisk.IDStore, error)

NewPebbleIDStore constructs a dedupdisk.IDStore implemented using PebbleBD

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL