Documentation ¶
Index ¶
- func ChangeDirName(ctx context.Context, new string, targetName string, newName string)
- func DeleteModuleFiles(path string)
- func Download(ctx context.Context, url string, branch string, dir string)
- func GetRequirement(ctx context.Context, componentDir string)
- func Install(ctx context.Context, url string, branch string)
- func RemoveFolder(path string)
- func ReplaceTemplateContent(ctx context.Context, newDirName string, replacePair []ReplacePair)
- type ReplacePair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeDirName ¶
func DeleteModuleFiles ¶
func DeleteModuleFiles(path string)
func GetRequirement ¶
func RemoveFolder ¶
func RemoveFolder(path string)
func ReplaceTemplateContent ¶
func ReplaceTemplateContent(ctx context.Context, newDirName string, replacePair []ReplacePair)
Types ¶
type ReplacePair ¶
func NewReplacePairs ¶
func NewReplacePairs(pairs ...ReplacePair) []ReplacePair
Click to show internal directories.
Click to hide internal directories.