storageos

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package storageos implements an os-backed storage Bucket.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewReadWriteBucket added in v0.19.0

func NewReadWriteBucket(rootPath string) (storage.ReadWriteBucket, error)

NewReadWriteBucket returns a new OS bucket.

Only regular files are handled, that is Exists should only be called for regular files, Get and Put only work for regular files, Put automatically calls Mkdir, and Walk only calls f on regular files.

The root path is expected to be normalized, however the root path can be absolute or jump context.

Not thread-safe.

Types

This section is empty.

Jump to

Keyboard shortcuts

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