Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer helps understand the source code present in a given directory Handy when implementing new Planners that need to analyze files in order to determine what to do.
func NewAnalyzer ¶
func (*Analyzer) AbsPath ¶
AbsPath resolves the given path and turns it into an absolute path relative to the root directory of the analyzer. If the given path is already absolute it leaves it as is.
func (*Analyzer) GlobFiles ¶
GlobFiles returns all the files matching the given glob patterns. Patterns can be relative to the analyzer's root directory. Glob patterns support "double star" matches.
func (*Analyzer) HasAnyFile ¶
type Version ¶
type Version string
Version handles very simple numeric semver versions (e.g. "1.2.3")
func NewVersion ¶
func (Version) MajorMinor ¶
func (Version) MajorMinorConcatenated ¶
Click to show internal directories.
Click to hide internal directories.