Documentation ¶
Index ¶
- Variables
- func Exists(path string) bool
- func Install(path string, content []byte, perm os.FileMode, user *User)
- func InstallDir(path string, perm os.FileMode, user *User) string
- func InstallIfNotExistsFromStdin(path string, message string, perm os.FileMode, user *User)
- func InstallIfNotExistsFromString(path string, data string, perm os.FileMode, user *User)
- func InstallSubdir(parent, name string, perm os.FileMode, user *User) string
- func Run(name string, args ...string)
- func Templ(templ string, data map[string]any) []byte
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var Root = &User{Uid: 0, Gid: 0, Username: "root"}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.