Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoFixer ¶
type AutoFixer func(result *checker.CheckResult, opts *Options) (*checker.CheckResult, error)
func NewAutoFixer ¶
func NewAutoFixer(dryRun bool, getwd ostestable.Getwd, detectMetaType MetaTypeDetector, createMeta MetaCreator, removeMeta MetaRemover, logger logging.Logger) AutoFixer
func SpyAutoFixer ¶
func SpyAutoFixer(inherited AutoFixer, callArgs *[]AutoFixerCallArgs) AutoFixer
func StubAutoFixer ¶
func StubAutoFixer(skipped *checker.CheckResult, err error) AutoFixer
type AutoFixerCallArgs ¶
type AutoFixerCallArgs struct { Result *checker.CheckResult Options *Options }
type MetaCreator ¶
func NewMetaCreator ¶
func StubMetaCreator ¶
func StubMetaCreator(err error) MetaCreator
type MetaRemover ¶
func NewMetaRemover ¶
func NewMetaRemover(dryRun bool) MetaRemover
func StubMetaRemover ¶
func StubMetaRemover(err error) MetaRemover
type MetaTypeDetector ¶
func NewMetaTypeDetector ¶
func NewMetaTypeDetector(isDir ostestable.IsDir) MetaTypeDetector
func StubMetaTypeDetector ¶
func StubMetaTypeDetector(result MetaType, err error) MetaTypeDetector
type OptionsBuilder ¶
func NewOptionsBuilder ¶
func NewOptionsBuilder(getwd ostestable.Getwd) OptionsBuilder
func StubOptionsBuilderWithRootDirAbsAndRel ¶
func StubOptionsBuilderWithRootDirAbsAndRel(rootDirRel typedpath.RawPath) OptionsBuilder
Click to show internal directories.
Click to hide internal directories.