ioutilwrapper

package
v1.36.2 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: 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 IOUtil

type IOUtil interface {
	TempFile(string, string) (oswrapper.File, error)
	WriteFile(string, []byte, os.FileMode) error
}

IOUtil wraps 'io/util' methods for testing

func NewIOUtil

func NewIOUtil() IOUtil

NewIOUtil creates a new IOUtil object

Directories

Path Synopsis
Package mock_ioutilwrapper is a generated GoMock package.
Package mock_ioutilwrapper is a generated GoMock package.

Jump to

Keyboard shortcuts

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