mockannex

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Annex

type Annex struct {
	GetStateFn      func(key string) (state string)
	ProgressFn      func(bytes int)
	SetStateFn      func(key, val string)
	SetURIPresentFn func(key, uri string)
	SetURLPresentFn func(key, url string)
	SetURIMissingFn func(key, uri string)
	SetURLMissingFn func(key, url string)
	GetURLsFn       func(key, prefix string) []string
	InfoFFn         func(fmt string, args ...interface{})
	DebugFFn        func(fmt string, args ...interface{})
	ErrorFFn        func(fmt string, args ...interface{})
	GetConfigFn     func(key string) string
	GetCredsFn      func(name string) (string, string)
	GetUUIDFn       func() string
	GetGitDirFn     func() string
	remote.Annex
}

func (*Annex) Debugf

func (ma *Annex) Debugf(fmt string, args ...interface{})

func (*Annex) Errorf

func (ma *Annex) Errorf(fmt string, args ...interface{})

func (*Annex) GetConfig

func (ma *Annex) GetConfig(k string) string

func (*Annex) GetCreds

func (ma *Annex) GetCreds(name string) (string, string)

func (*Annex) GetGitDir

func (ma *Annex) GetGitDir() string

func (*Annex) GetState

func (ma *Annex) GetState(key string) (state string)

func (*Annex) GetURLs

func (ma *Annex) GetURLs(key, prefix string) []string

func (*Annex) GetUUID

func (ma *Annex) GetUUID() string

func (*Annex) Infof

func (ma *Annex) Infof(fmt string, args ...interface{})

func (*Annex) Progress

func (ma *Annex) Progress(bytes int)

func (*Annex) SetState

func (ma *Annex) SetState(key, val string)

func (*Annex) SetURIMissing

func (ma *Annex) SetURIMissing(key, uri string)

func (*Annex) SetURIPresent

func (ma *Annex) SetURIPresent(key, uri string)

func (*Annex) SetURLMissing

func (ma *Annex) SetURLMissing(key, url string)

func (*Annex) SetURLPresent

func (ma *Annex) SetURLPresent(key, url string)

Jump to

Keyboard shortcuts

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