Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHostname ¶
func GetHostname() string
GetHostname returns the hostname name of the current computer.
*If there is an error, it returns a default string.
func GetUserHomeDir ¶
func GetUserHomeDir() string
GetUserHomeDir returns the home directory of the current user.
func IsGitRepository ¶
IsGitRepository returns if the path, given as an argument, is a git repository or not.
*This function returns a boolean value: true if the pathdir pointed to a git repository, else false.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.