Documentation ¶
Index ¶
- func DirContentIsOlderThan(dir *paths.Path, target *paths.Path, extensions ...string) (bool, error)
- func FindFilesInFolder(dir *paths.Path, recurse bool, extensions ...string) (paths.PathList, error)
- func NormalizeUTF8(buf []byte) []byte
- func ObjFileIsUpToDate(sourceFile, objectFile, dependencyFile *paths.Path) (bool, error)
- func PrintableCommand(parts []string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirContentIsOlderThan ¶
DirContentIsOlderThan returns true if the content of the given directory is older than target file. If extensions are given, only the files with these extensions are tested.
func FindFilesInFolder ¶
FindFilesInFolder fixdoc
func NormalizeUTF8 ¶
NormalizeUTF8 byte slice TODO: use it more often troughout all the project (maybe on logger interface?)
func ObjFileIsUpToDate ¶
ObjFileIsUpToDate fixdoc
func PrintableCommand ¶
PrintableCommand Convert a command and argument slice back to a printable string. This adds basic escaping which is sufficient for debug output, but probably not for shell interpretation. This essentially reverses ParseCommandLine.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.