MCPcopy Create free account
hub / github.com/diillson/chatcli / GetHomeDir

Function GetHomeDir

utils/shell_utils.go:31–33  ·  view source on GitHub ↗

GetHomeDir retorna o diretório home do usuário atual.

()

Source from the content-addressed store, hash-verified

29
30// GetHomeDir retorna o diretório home do usuário atual.
31func 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.
36func GetShellConfigFilePath(shellName string) string {

Callers 7

defaultExportDirFunction · 0.92
NewSessionManagerFunction · 0.92
NewManagerFunction · 0.92
NewPolicyManagerFunction · 0.92
DefaultDBPathFunction · 0.92
loadIgnorePatternsFunction · 0.85
GetShellConfigFilePathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected