Versions in this module Expand all Collapse all v0 v0.1.1 May 2, 2023 Changes in this version + const DefaultDirPermissions + const DefaultFilePermissions + type FileSystem interface + DeleteFile func(filename string) (bool, error) + FileExists func(filename string) (bool, error) + GetLocalExecutable func(name string) (string, error) + ReadDirRecursive func(path string, depth int, strictDepth bool) ([]ReadDirEntry, error) + ReadFileLines func(filename string) ([]string, error) + WriteFile func(filename string, content []byte) error + WriteLockFileFunc func(filename string, writeFunc func(io.Writer) error) (LockFile, error) + func NewFileSystem() FileSystem + type LockFile interface + Commit func() error + Rollback func() error + type ReadDirEntry interface + Path func() string + type UserProvider interface + CurrentUser func() (*user.User, error) + func NewUserProvider() UserProvider