test_helpers

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirs

func CreateDirs(destPath string, paths []string) error

func CreateFiles

func CreateFiles(destPath string, paths []string) error
func CreateSymlink(srcPath, destPath string) error

Types

type EntryMock

type EntryMock struct {
	os.DirEntry
	EntryName  string
	EntryIsDir bool
	EntryType  os.FileMode
	EntryInfo  os.FileInfo
}

func (EntryMock) Info

func (mock EntryMock) Info() (os.FileInfo, error)

func (EntryMock) IsDir

func (mock EntryMock) IsDir() bool

func (EntryMock) Name

func (mock EntryMock) Name() string

func (EntryMock) Type

func (mock EntryMock) Type() os.FileMode

Jump to

Keyboard shortcuts

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