repository

package
v0.0.0-...-d04cd99 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

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

func New

func New(dbPath string) *Repository

func (*Repository) ReadFile

func (r *Repository) ReadFile(ctx context.Context, log *logger.Logger, params *model.ReadFileParams) (
	*model.File, error,
)

func (*Repository) SaveFile

func (r *Repository) SaveFile(ctx context.Context, log *logger.Logger, file *model.File) error

Jump to

Keyboard shortcuts

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