buildrepo

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package buildrepo initializes a qri repo

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, path string, cfg *config.Config, opts ...func(o *Options)) (repo.Repo, error)

New is the canonical method for building a repo

func NewFilesystem

func NewFilesystem(ctx context.Context, cfg *config.Config) (*muxfs.Mux, error)

NewFilesystem creates a qfs.Filesystem from configuration

Types

type Options added in v0.9.9

type Options struct {
	Profiles   profile.Store
	Keystore   key.Store
	Filesystem *muxfs.Mux
	Logbook    *logbook.Book
	Dscache    *dscache.Dscache
	Bus        event.Bus
}

Options provides additional fields to new

Jump to

Keyboard shortcuts

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