Versions in this module Expand all Collapse all v0 v0.0.14 Aug 17, 2024 Changes in this version + type Fsio struct + func (fsio *Fsio) Confirm(message string) bool + func (fsio *Fsio) CopyFile(srcPath string, dstPath string) error + func (fsio *Fsio) IsDirOrFileExist(path string) bool + func (fsio *Fsio) ListDirs(path string) []string + func (fsio *Fsio) ListFilesRecursively(path string) []string + func (fsio *Fsio) ReadStream(path string) *os.File + func (fsio *Fsio) RemoveFile(path string) error + func (fsio *Fsio) SelectDir(message string) string + type FsioInterface interface + Confirm func(message string) bool + CopyFile func(srcPath string, dstPath string) error + IsDirOrFileExist func(path string) bool + ListDirs func(path string) []string + ListFilesRecursively func(path string) []string + ReadStream func(path string) *os.File + RemoveFile func(path string) error + SelectDir func(message string) string + type FsioMock struct + Out string + func NewFsioMock() *FsioMock + func (fsio *FsioMock) Confirm(message string) bool + func (fsio *FsioMock) Printf(format string, a ...any) + func (fsio *FsioMock) SelectDir(message string) string + type Log struct + func (repo *Log) Printf(format string, a ...any) + type LogInterface interface + Printf func(format string, a ...any) + type LogMock struct + Out string + func (repo *LogMock) Printf(format string, a ...any) + type Repos struct + Fsio FsioInterface + Log LogInterface + func New() Repos + func NewMock() Repos v0.0.13 Jan 8, 2024