disk

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 5

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