Get the real path of the home directory
()
| 32 | ] |
| 33 | |
| 34 | def get_home_dir(): |
| 35 | """Get the real path of the home directory""" |
| 36 | homedir = __vscode_os.path.expanduser("~") |
| 37 | # Next line will make things work even when /home/ is a symlink to |
| 38 | # /usr/home as it is on FreeBSD, for example |
| 39 | homedir = str(__vscode_Path(homedir).resolve()) |
| 40 | return homedir |
| 41 | |
| 42 | _dtemps: dict = {} |
| 43 |
no test coverage detected