os

package
v0.1.44 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

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

FileInfo mocks the os.FileInfo interface

func (FileInfo) IsDir

func (m FileInfo) IsDir() bool

func (FileInfo) ModTime

func (m FileInfo) ModTime() time.Time

func (FileInfo) Mode

func (m FileInfo) Mode() os.FileMode

func (FileInfo) Name

func (m FileInfo) Name() string

func (*FileInfo) Returns

func (m *FileInfo) Returns(toReturn ReturnValue) *FileInfo

func (FileInfo) Size

func (m FileInfo) Size() int64

func (FileInfo) Sys

func (m FileInfo) Sys() interface{}

type ReturnValue

type ReturnValue struct {
	Function string
	Value    interface{}
}

Jump to

Keyboard shortcuts

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