file

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo added in v1.1.0

type Repo struct {
	// contains filtered or unexported fields
}

func New

func New(p badger.Provider) *Repo

func (*Repo) Delete added in v1.1.0

func (r *Repo) Delete(ctx context.Context, f model.File) error

func (*Repo) GetAll added in v1.1.0

func (r *Repo) GetAll(ctx context.Context) ([]model.File, error)

func (*Repo) RunTransaction added in v1.1.0

func (r *Repo) RunTransaction(ctx context.Context, fn transactor.TransactionFn) error

func (*Repo) Set added in v1.1.0

func (r *Repo) Set(ctx context.Context, f model.File) error

Directories

Path Synopsis
Code generated by MockGen.
Code generated by MockGen.

Jump to

Keyboard shortcuts

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