Documentation ¶
Index ¶
Constants ¶
View Source
const GitHubTokenEnv = "GITHUB_TOKEN"
View Source
const IgnoreFileBasename typedpath.BaseName = ".meta-check-ignore"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgParser ¶
type ArgParser func(args []string, procInout cli.ProcessInout) (*Options, error)
func NewBuilder ¶
func NewBuilder( detectRootDir RootDirCompletion, detectUnityProj UnityProjectDetector, buildIgnoredGlobs IgnoredGlobsBuilder, validateRootDirAbs RootDirAbsValidator, logger logging.Logger, ) ArgParser
type IgnoredGlobsBuilder ¶
type IgnoredGlobsBuilder func(ignoreFilePath typedpath.RawPath, rootDirAbs typedpath.RawPath) ([]globs.Glob, error)
func NewIgnoredGlobsBuilder ¶
func NewIgnoredGlobsBuilder(logger logging.Logger) IgnoredGlobsBuilder
func StubIgnoredPathBuilder ¶
func StubIgnoredPathBuilder(result []globs.Glob, err error) IgnoredGlobsBuilder
type Options ¶
type RootDirAbsValidator ¶
func FakeRootDirValidator ¶
func FakeRootDirValidator(cwd typedpath.RawPath) RootDirAbsValidator
func NewRootDirValidator ¶
func NewRootDirValidator(isDir ostestable.IsDir) RootDirAbsValidator
func StubRootDirValidator ¶
func StubRootDirValidator(path typedpath.RawPath, err error) RootDirAbsValidator
type RootDirCompletion ¶
func NewRootDirCompletion ¶
func NewRootDirCompletion(gitRevParse git.RevParse, logger logging.Logger) RootDirCompletion
func StubRootDirCompletion ¶
func StubRootDirCompletion(path typedpath.RawPath, err error) RootDirCompletion
type UnityProjectDetector ¶
type UnityProjectDetector func(rootDirAbs typedpath.RawPath) (checker.TargetType, error)
func NewUnityProjectDetector ¶
func NewUnityProjectDetector(logger logging.Logger) UnityProjectDetector
func StubUnityProjectDetector ¶
func StubUnityProjectDetector(result checker.TargetType, err error) UnityProjectDetector
Click to show internal directories.
Click to hide internal directories.