diskpacked

package
v0.0.0-...-ed6f70f Latest Latest
Warning

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

Go to latest
Published: May 19, 2014 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package diskpacked registers the "diskpacked" blobserver storage type, storing blobs in sequence of monolithic data files indexed by a kvfile index.

Example low-level config:

"/storage/": {
    "handler": "storage-diskpacked",
    "handlerArgs": {
       "path": "/var/camlistore/blobs"
     }
},

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsDir

func IsDir(dir string) (bool, error)

IsDir reports whether dir is a diskpacked directory.

func New

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

New returns a diskpacked storage implementation, adding blobs to the provided directory. It doesn't delete any existing blob pack files.

func Reindex

func Reindex(root string, overwrite bool) (err error)

Reindex rewrites the index files of the diskpacked .pack files

Types

This section is empty.

Jump to

Keyboard shortcuts

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