Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Roots in relation to the root directory of the repository. ProjectRoot = "." ClassicRoot = "v1" FlexRoot = "v2" ItRoot = "it" )
View Source
const (
RootDirName = "DataflowTemplates"
)
Variables ¶
This section is empty.
Functions ¶
func GetAllPomFiles ¶
Gets all the POM files under `dir`, where `dir` is a relative path from the root of the repository.
func GetModulesForPaths ¶
Gets all the unique modules for files whose path from the root directory is in `paths`. Example paths:
pom.xml -> Mapped to Classic root v2/cdc-parent/pom.xml -> Mapped to cdc-parent under Flex Templates
The return value has the following properties:
Key: The path of the root module, equivalent to ClassicRoot, FlexRoot, etc. Value: List of modules (e.g. cdc-parent, cdc-parent/cdc-common). An empty entry represents the root itself.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.