Documentation ¶
Index ¶
- Constants
- func AnalyseFile(basePath string, filePath string) (indexedFile dto.IndexedFile, err error)
- func AnalyseTheCode(src string, ext string, ignored []string) (foundResults map[string]dto.IndexedFile, pathIndex map[string]dto.IndexedFile, ...)
- func FindFeaturesInIndex(diff []string, absolutePath string) (result dto.AnalysisResult)
- func GetIgnoredFilePaths(path string, absolutePath string) (files []string, err error)
- type Git
- type VcsInterface
Constants ¶
View Source
const ( //FeatureAlias - the constant which identifies the feature alias which our parser will try to find in the strings FeatureAlias = "@featureType" //ProjectAlias - the constant for project annotation search ProjectAlias = "@project" )
Variables ¶
This section is empty.
Functions ¶
func AnalyseFile ¶ added in v1.0.8
func AnalyseFile(basePath string, filePath string) (indexedFile dto.IndexedFile, err error)
AnalyseFile find the features in the destination file path basePath - will be used for generation of relation path filePath - the actual absolute file path
func AnalyseTheCode ¶ added in v1.0.8
func AnalyseTheCode(src string, ext string, ignored []string) (foundResults map[string]dto.IndexedFile, pathIndex map[string]dto.IndexedFile, importsIndex map[string][]string, err error)
AnalyseTheCode method loads the available project features in the memory
func FindFeaturesInIndex ¶ added in v1.0.8
func FindFeaturesInIndex(diff []string, absolutePath string) (result dto.AnalysisResult)
FindFeaturesInIndex method tries to find features in the prepared indexes
Types ¶
Click to show internal directories.
Click to hide internal directories.