Categorygithub.com/igumus/go-objectstore-fs
modulepackage
1.1.2
Repository: https://github.com/igumus/go-objectstore-fs.git
Documentation: pkg.go.dev

# README

go-objectstore-fs

go-objectstore-fs is an implementation of go-objectstore-lib to store bytes on file system.

# Functions

NewFileSystemObjectStore creates file system backed ObjectStore instance via given configuration options.
WithBucket returns a FSObjectstoreConfigOption that specifies where to store objects.
WithDataDir returns a FSObjectstoreConfigOption that specifies where to store objects.
WithDebugMode returns a FSObjectstoreConfigOption that specifies debug mode.

# Variables

ErrDataDigestionFailed is return, when file system objectstore's object digestion failed.
ErrDataDirNotSpecified is return, when file system objectstore's data directory not specified.

# Type aliases

A FSObjectstoreConfigOption sets options such as chunk directory and block directory.