camlistore.org: camlistore.org/pkg/blobserver/dir Index | Files

package dir

import "camlistore.org/pkg/blobserver/dir"

Package dir implements the blobserver Storage interface for a directory, detecting whether the directory is file-per-blob (localdisk) or diskpacked. If neither, it initializes diskpacked.

Index

Package Files

dir.go

func New Uses

func New(dir string) (blobserver.Storage, error)

New returns a new blobserver Storage implementation, storing blobs in the provided dir. If dir has an index.kv file, a diskpacked implementation is returned.

Package dir imports 3 packages (graph) and is imported by 3 packages. Updated 2018-01-23. Refresh now. Tools for package owners.