Discover Packages
github.com/emperorearth/camlistore
pkg
blobserver
diskpacked
package
Version:
v0.0.0-...-04928c2
Opens a new window with list of versions in this module.
Published: May 13, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 26
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Overview Index Constants Variables Functions Types IsDir(dir) New(dir) Reindex(root, overwrite, indexConf)
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package diskpacked registers the "diskpacked" blobserver storage type,
storing blobs packed together into monolithic data files
with an index listing the sizes and offsets of the little blobs
within the large files.
Example low-level config:
"/storage/": {
"handler": "storage-diskpacked",
"handlerArgs": {
"path": "/var/camlistore/blobs"
}
},
IsDir reports whether dir is a diskpacked directory.
New returns a diskpacked storage implementation, adding blobs to
the provided directory. It doesn't delete any existing blob pack
files.
Reindex rewrites the index files of the diskpacked .pack files
Source Files
¶
Click to show internal directories.
Click to hide internal directories.