repository

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSDocumentContentRepository

type FSDocumentContentRepository struct {
	Logger *log.Logger
	// contains filtered or unexported fields
}

func (*FSDocumentContentRepository) Add

func (repo *FSDocumentContentRepository) Add(ctx context.Context, pathContents []tuple.T2[string, string]) error

func (*FSDocumentContentRepository) Delete

func (repo *FSDocumentContentRepository) Delete(ctx context.Context, paths []string) error

func (*FSDocumentContentRepository) Get

func (repo *FSDocumentContentRepository) Get(ctx context.Context, paths []string) (contents []string, err error)

func (*FSDocumentContentRepository) Move

func (repo *FSDocumentContentRepository) Move(ctx context.Context, pathChanges []tuple.T2[string, string]) error

func (*FSDocumentContentRepository) New

func (*FSDocumentContentRepository) Update

func (repo *FSDocumentContentRepository) Update(ctx context.Context, pathContents []tuple.T2[string, string]) error

type FSDocumentContentRepositoryConstructorArgs added in v0.6.0

type FSDocumentContentRepositoryConstructorArgs struct {
	Fs     afero.Fs
	Logger *log.Logger
}

Jump to

Keyboard shortcuts

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