testutil

package
v0.4.6-rc3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FossilArtifactByPath

func FossilArtifactByPath(repoPath, uuid string) ([]byte, error)

func FossilBinary

func FossilBinary() string

func FossilRebuild

func FossilRebuild(repoPath string) error

func FossilTimeline

func FossilTimeline(repoPath string) ([]byte, error)

func HasFossil

func HasFossil() bool

Types

type TestRepo

type TestRepo struct {
	Path string
	Dir  string
}

func NewTestRepo

func NewTestRepo(t *testing.T) *TestRepo

func NewTestRepoFromPath

func NewTestRepoFromPath(t *testing.T, path string) *TestRepo

func (*TestRepo) FossilArtifact

func (r *TestRepo) FossilArtifact(t *testing.T, uuid string) []byte

func (*TestRepo) FossilRebuild

func (r *TestRepo) FossilRebuild(t *testing.T)

func (*TestRepo) FossilSQL

func (r *TestRepo) FossilSQL(t *testing.T, sql string) string

Jump to

Keyboard shortcuts

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