Documentation ¶
Overview ¶
This file was generated by counterfeiter with command: counterfeiter -p -o /Users/pivotal/workspace/local-volume-release/src/code.cloudfoundry.org/goshims/ioutilshim io/ioutil BUT THEN WE MODIFIED IT SO MAKE SURE TO COPY THOSE MODIFICATIONS FORWARDS
This file was generated by counterfeiter with command: counterfeiter -p -o /Users/pivotal/workspace/local-volume-release/src/code.cloudfoundry.org/goshims/ioutilshim io/ioutil BUT THEN WE MODIFIED IT SO MAKE SURE TO COPY THOSE MODIFICATIONS FORWARDS
Index ¶
- type Ioutil
- type IoutilShim
- func (sh *IoutilShim) NopCloser(r io.Reader) io.ReadCloser
- func (sh *IoutilShim) ReadAll(r io.Reader) ([]byte, error)
- func (sh *IoutilShim) ReadDir(dirname string) ([]os.FileInfo, error)
- func (sh *IoutilShim) ReadFile(filename string) ([]byte, error)
- func (sh *IoutilShim) TempDir(dir string, prefix string) (name string, err error)
- func (sh *IoutilShim) TempFile(dir string, prefix string) (osshim.File, error)
- func (sh *IoutilShim) WriteFile(filename string, data []byte, perm os.FileMode) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ioutil ¶
type Ioutil interface { ReadAll(r io.Reader) ([]byte, error) ReadFile(filename string) ([]byte, error) WriteFile(filename string, data []byte, perm os.FileMode) error ReadDir(dirname string) ([]os.FileInfo, error) NopCloser(r io.Reader) io.ReadCloser TempFile(dir, prefix string) (f osshim.File, err error) TempDir(dir, prefix string) (name string, err error) }
type IoutilShim ¶
type IoutilShim struct{}
func (*IoutilShim) NopCloser ¶
func (sh *IoutilShim) NopCloser(r io.Reader) io.ReadCloser
func (*IoutilShim) TempDir ¶
func (sh *IoutilShim) TempDir(dir string, prefix string) (name string, err error)
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.