MCPcopy Create free account
hub / github.com/git/git / get_canon_hostname

Function get_canon_hostname

daemon.c:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81static void lookup_hostname(struct hostinfo *hi);
82
83static const char *get_canon_hostname(struct hostinfo *hi)
84{
85 lookup_hostname(hi);
86 return hi->canon_hostname.buf;
87}
88
89static const char *get_ip_address(struct hostinfo *hi)
90{

Callers 2

path_okFunction · 0.85
run_access_hookFunction · 0.85

Calls 1

lookup_hostnameFunction · 0.85

Tested by

no test coverage detected