fstest

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Absent

type Absent struct {
	Path string
}

func (Absent) Abs

func (a Absent) Abs(t *testing.T, pathBaseDir string) string

func (Absent) Assert

func (a Absent) Assert(t *testing.T, pathBaseDir string)

func (Absent) Write

func (a Absent) Write(t *testing.T, _ string)

type Asserter

type Asserter interface {
	Assert(t *testing.T, pathBaseDir string)
}

type Dir

type Dir struct {
	Path string
}

func (Dir) Abs

func (d Dir) Abs(t *testing.T, pathBaseDir string) string

func (Dir) Assert

func (d Dir) Assert(t *testing.T, pathBaseDir string)

func (Dir) Write

func (d Dir) Write(t *testing.T, pathBaseDir string)

type File

type File struct {
	Path, Contents string
}

func (File) Abs

func (f File) Abs(t *testing.T, pathBaseDir string) string

func (File) Assert

func (f File) Assert(t *testing.T, pathBaseDir string)

func (File) Write

func (f File) Write(t *testing.T, pathBaseDir string)

type TarXZ

type TarXZ struct {
	Path     string
	Contents []Writer
}

func (TarXZ) Abs

func (tr TarXZ) Abs(t *testing.T, pathBaseDir string) string

func (TarXZ) Write

func (tr TarXZ) Write(t *testing.T, pathBaseDir string)

type Writer

type Writer interface {
	Abs(t *testing.T, pathBaseDir string) string
	Write(t *testing.T, pathBaseDir string)
}

type Zip

type Zip struct {
	Path     string
	Contents []Writer
}

func (Zip) Abs

func (z Zip) Abs(t *testing.T, pathBaseDir string) string

func (Zip) Write

func (z Zip) Write(t *testing.T, pathBaseDir string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳