dir

package
v0.0.0-...-04928c2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

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 returnd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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