GetHomeDir retorna o diretório home do usuário atual.
()
| 29 | |
| 30 | // GetHomeDir retorna o diretório home do usuário atual. |
| 31 | func GetHomeDir() (string, error) { |
| 32 | return os.UserHomeDir() |
| 33 | } |
| 34 | |
| 35 | // GetShellConfigFilePath retorna o caminho do arquivo de configuração do shell com base no nome do shell. |
| 36 | func GetShellConfigFilePath(shellName string) string { |
no outgoing calls
no test coverage detected