Documentation ¶
Overview ¶
Package to encapsulate CLI filesystem operations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileExists ¶ added in v0.3.2
func GetFileContent ¶
func GetKeyDirPath ¶
Given a user-specified directory, return the path. The logic is in the case where users do not specify a folder. If the folder isn't specified, we default to $XDG_CONFIG_HOME/.config/turnkey/keys. If this env var isn't set, we default to $HOME/.config/turnkey/keys If $HOME isn't set, this function returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.