Documentation
¶
Index ¶
- func AppendToFile(content string, path string) error
- func GetFilesWithExtensions(files []*github.RepositoryContent, extensions []string) []*github.RepositoryContent
- func GetLocalFileContent(path string) (string, error)
- func GetRemoteFileContent(fileURL string) (string, error)
- func RemoveLinesInFile(expression string, path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendToFile ¶
AppendToFile adds content to a local file
func GetFilesWithExtensions ¶
func GetFilesWithExtensions(files []*github.RepositoryContent, extensions []string) []*github.RepositoryContent
GetFileURLsWithExtensions returns all URLs with a certain extension given a URL list
func GetLocalFileContent ¶
GetLocalFileContent returns the file content of a local file at a path
func GetRemoteFileContent ¶
GetRemoteFileContent returns the file content of a file at a URL
func RemoveLinesInFile ¶
RemoveLinesInFile deletes lines matching a regex from a local file
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.