Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCliContext ¶
func NewCliContext(flags map[string]string) (*utils.ContextCommandLine, error)
NewCliContext creates a new CLI context with a certain set of flags.
Types ¶
type FakeFileInfo ¶
type FakeFileInfo struct {
IsDirectory bool
}
func (*FakeFileInfo) IsDir ¶
func (ffi *FakeFileInfo) IsDir() bool
func (FakeFileInfo) ModTime ¶
func (ffi FakeFileInfo) ModTime() time.Time
func (FakeFileInfo) Mode ¶
func (ffi FakeFileInfo) Mode() os.FileMode
func (FakeFileInfo) Name ¶
func (ffi FakeFileInfo) Name() string
func (FakeFileInfo) Size ¶
func (ffi FakeFileInfo) Size() int64
func (FakeFileInfo) Sys ¶
func (ffi FakeFileInfo) Sys() any
type FakeIoUtil ¶
func (*FakeIoUtil) RemoveAll ¶
func (util *FakeIoUtil) RemoveAll(path string) error
Click to show internal directories.
Click to hide internal directories.