overlay

package
v0.0.0-...-4ba1123 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package overlay registers the "overlay" blobserver storage type that presents storage that is the result of overlaying a storage ("upper") on top of another storage ("lower"). All changes go to the upper storage. The lower storage is never changed.

The optional "deleted" KeyValue store may be provided to keep track of deleted blobs. When "deleted" is missing, deletion returns an error.

Example usage:

"/bs/": {
  "handler": "storage-overlay",
  "handlerArgs": {
    "lower": "/sto-base/",
    "upper": "/bs-local-changes/",
    "deleted": {
      "file": "/volume1/camlistore/home/var/camlistore/blobs/deleted.leveldb",
      "type": "leveldb"
    }
  }
}

Jump to

Keyboard shortcuts

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