Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶ added in v0.2.0
type Backend struct { *catfs.MemFsBackend *repoMock.RepoBackend *netMock.NetBackend }
Backend is used for local testing.
func NewMockBackend ¶
NewMockBackend returns a backend.Backend that operates only in memory and does not use any resources outliving the own process, except the net part which stores connection info on disk.
type VersionInfo ¶ added in v0.2.0
type VersionInfo struct {
// contains filtered or unexported fields
}
VersionInfo holds version info (yeah, golint)
func (*VersionInfo) Name ¶ added in v0.2.0
func (v *VersionInfo) Name() string
Name returns the name of the backend
func (*VersionInfo) Rev ¶ added in v0.2.0
func (v *VersionInfo) Rev() string
Rev returns the git revision of the backend
func (*VersionInfo) SemVer ¶ added in v0.2.0
func (v *VersionInfo) SemVer() string
SemVer returns a version string complying semantic versioning
Click to show internal directories.
Click to hide internal directories.