filestore

package
v0.0.0-...-84531c7 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Filestore

type Filestore struct {
	Dir string
	// contains filtered or unexported fields
}

Filestore handles all operations relating to files.

func New

func New(dir string) (*Filestore, error)

func (*Filestore) Add

func (fs *Filestore) Add(uuid string, filename string) error

func (*Filestore) Get

func (fs *Filestore) Get(uuid string) (*pb.Metadata, error)

Jump to

Keyboard shortcuts

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