disk

package
v0.0.0-...-7c4ed6d Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2017 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package disk provides a storage.Storage that stores data on local disk.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(opts *storage.Opts) (storage.Storage, error)

New initializes and returns a disk-backed storage.Storage with the given options. The single, required option is "basePath" that must be an absolute path under which all objects should be stored.

Types

This section is empty.

Directories

Path Synopsis
internal
local
Package local converts blob references into local path names for on-disk storage.
Package local converts blob references into local path names for on-disk storage.

Jump to

Keyboard shortcuts

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