tester

package
v0.16.11 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	// contains filtered or unexported fields
}

func NewFS

func NewFS(fixtures ...string) (*FS, error)

func NewFSWithRoot

func NewFSWithRoot(root string, fixtures ...string) (*FS, error)

func (*FS) Create

func (fsys *FS) Create(name string) (rwfs.File, error)

func (*FS) Diff

func (fsys *FS) Diff(name string) string

func (*FS) DiffAll

func (fsys *FS) DiffAll() string

func (*FS) Open

func (fsys *FS) Open(name string) (fs.File, error)

func (*FS) OpenAsWritable

func (fsys *FS) OpenAsWritable(name string) (rwfs.File, error)

func (*FS) Truncate

func (fsys *FS) Truncate(string, int64) error

Jump to

Keyboard shortcuts

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