fileblob

package
v0.0.0-...-da76615 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package fileblob provides a bucket implementation that operates on the local filesystem. This should not be used for production: it is intended for local development.

Blob names must only contain alphanumeric characters, slashes, periods, spaces, underscores, and dashes. Repeated slashes, a leading "./" or "../", or the sequence "/./" is not permitted. This is to ensure that blob names map cleanly onto files underneath a directory.

Index

Constants

This section is empty.

Variables

View Source
var AttrsExt = ""
View Source
var DataDir = ""
View Source
var MetaDir = ""
View Source
var RevisionDir = ""

Functions

func NewBucket

func NewBucket(dir string) (*blob.Bucket, error)

NewBucket creates a new bucket that reads and writes to dir. dir must exist.

Types

This section is empty.

Jump to

Keyboard shortcuts

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