cmd_blob_store_fs

package
v0.0.0-...-f32aef4 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MainCommand

func MainCommand() *cobra.Command

Types

type BlobBuilder

type BlobBuilder interface {
	Stream() *os.File
	Commit() (string, error)
	Abort() error
}

type BlobReader

type BlobReader interface {
	Stream() *os.File
	Close()
}

type Repo

type Repo interface {
	Create(id gunkan.BlobId) (BlobBuilder, error)
	Open(blobId string) (BlobReader, error)
	Delete(blobId string) error
}

func MakePostNamed

func MakePostNamed(basedir string) (Repo, error)

Jump to

Keyboard shortcuts

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