dir

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: 9 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(rootDirs []string) (*Repo, error)

func (*Repo) Add added in v1.1.0

func (r *Repo) Add(_ context.Context, dir model.Dir) error

func (*Repo) Create added in v1.1.0

func (r *Repo) Create(_ context.Context, dir model.Dir) error

func (*Repo) Get added in v1.1.0

func (r *Repo) Get(ctx context.Context) (model.Dirs, error)

func (*Repo) GetRoots added in v1.1.0

func (r *Repo) GetRoots(_ context.Context) ([]model.Root, error)

func (*Repo) Remove added in v1.1.0

func (r *Repo) Remove(_ context.Context, dir model.Dir) error

Jump to

Keyboard shortcuts

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