Host Util
This module handles host operations.
Namely getting the hostname of the local machine…
-
git_sh_sync.util.host.
get_hostname
(short=True)
Retrieves current hostname.
Parameters: | short – only emit the first part if true |
Returns: | hostname (long or short form) |