Documentation ¶
Overview ¶
Package fs provides filesystem related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyDir ¶
func CopyDir(destdir, srcdir string, filter CopyFilterFunc) error
CopyDir will copy srcdir to destdir. It will copy all dirs and files recursively. The destdir provided does not need to exist, it will be created. The provided filter function allows to filter which files/directories get copied.
func ListTerramateDirs ¶
ListTerramateDirs lists Terramate dirs, which are any dirs except ones starting with ".".
func ListTerramateFiles ¶
ListTerramateFiles returns a list of terramate related files from the directory dir.
Types ¶
Click to show internal directories.
Click to hide internal directories.