Documentation ¶
Index ¶
- func Deleter(filePath string, info os.FileInfo, level ...int)
- func FindConfigAndRead(projectFolder string) (found bool)
- func IndentedOutput(info os.FileInfo, action string, level ...int)
- func IndentedOutputNoHyph(info os.FileInfo, action string, level ...int)
- func IsSubjecTo(subjectedFiles []string, filePath string) bool
- func IsToRead(ext string) bool
- func Iterate(filePath string, level ...int)
- func ReadConfig(filePath, projectFolder string)
- func ReadFile(path string, info os.FileInfo, level ...int) (content string, ok bool)
- func ReadFromInput()
- func ReplaceFileContent(content string) (newContent string)
- func RewriteFile(filePath, newContent string, info os.FileInfo, level ...int) (ok bool)
- func Run(projectFolder string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindConfigAndRead ¶
func IndentedOutputNoHyph ¶
func IsSubjecTo ¶
IsSubjectTo checks if the given file is subjected to specific action in the changes config
e.g is subjected to skip or delete action
func Iterate ¶
Iterator iterates the project folder to find the files or directories subjected to changes
func ReadConfig ¶
func ReadConfig(filePath, projectFolder string)
func ReadFromInput ¶
func ReadFromInput()
func ReplaceFileContent ¶
func RewriteFile ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.