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

Function canonicalize_client

daemon.c:578–582  ·  view source on GitHub ↗

* Like sanitize_client, but we also perform any canonicalization * to make life easier on the admin. */

Source from the content-addressed store, hash-verified

576 * to make life easier on the admin.
577 */
578static void canonicalize_client(struct strbuf *out, const char *in)
579{
580 sanitize_client(out, in);
581 strbuf_tolower(out);
582}
583
584/*
585 * Read the host as supplied by the client connection.

Callers 1

parse_host_argFunction · 0.85

Calls 2

sanitize_clientFunction · 0.85
strbuf_tolowerFunction · 0.85

Tested by

no test coverage detected