Documentation ¶
Index ¶
- type IoUtil
- func (_m *IoUtil) CopyFile(src string, dest string) error
- func (_m *IoUtil) CopyResource(src string, dest string) error
- func (_m *IoUtil) CreateFile(file string, tr io.Reader) error
- func (_m *IoUtil) Download(URL string, destPath string) error
- func (_m *IoUtil) ResolveDestPath(filePath string, destDir string) string
- func (_m *IoUtil) ResolveDestPathFromURL(url string, destDir string) string
- func (_m *IoUtil) TempDir(_a0 string, _a1 string) (string, error)
- func (_m *IoUtil) Untar(tarPath string, dest string) error
- func (_m *IoUtil) Unzip(arch string, dest string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IoUtil ¶
IoUtil is an autogenerated mock type for the IoUtil type
func (*IoUtil) CopyResource ¶
CopyResource provides a mock function with given fields: src, dest
func (*IoUtil) CreateFile ¶
CreateFile provides a mock function with given fields: file, tr
func (*IoUtil) ResolveDestPath ¶
ResolveDestPath provides a mock function with given fields: filePath, destDir
func (*IoUtil) ResolveDestPathFromURL ¶
ResolveDestPathFromURL provides a mock function with given fields: url, destDir
Click to show internal directories.
Click to hide internal directories.