test

package
v1.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Path      string
	Contents  string
	Directory bool
}

type MockFilesystem

type MockFilesystem map[string]File

func NewMockFilesystem

func NewMockFilesystem(files ...File) MockFilesystem

func (MockFilesystem) ReadFile

func (m MockFilesystem) ReadFile(filename string) ([]byte, error)

Jump to

Keyboard shortcuts

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