Documentation
¶
Index ¶
- Constants
- func CanOverride(path string, force bool) bool
- func CopyFile(source, dest string) error
- func FileExists(path string) bool
- func ParseFileMode(modeStr string) (fs.FileMode, error)
- func ReadInput(arg string, reader io.Reader) (string, error)
- func ReadPasswordFromReader(reader io.Reader) (string, error)
- func ReadPasswordInput() (string, error)
- func WriteSecureFile(filePath string, content []byte, modeStr string, force bool) error
Constants ¶
View Source
const DefaultFileMode fs.FileMode = 0o600
Variables ¶
This section is empty.
Functions ¶
func CanOverride ¶
func FileExists ¶
func ReadPasswordFromReader ¶ added in v0.0.41
func ReadPasswordInput ¶ added in v0.0.41
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.