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

Function config_to_packet_line

bundle-uri.c:943–953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

941}
942
943static int config_to_packet_line(const char *key, const char *value,
944 const struct config_context *ctx UNUSED,
945 void *data)
946{
947 struct packet_reader *writer = data;
948
949 if (starts_with(key, "bundle."))
950 packet_write_fmt(writer->fd, "%s=%s", key, value);
951
952 return 0;
953}
954
955int bundle_uri_command(struct repository *r,
956 struct packet_reader *request)

Callers

nothing calls this directly

Calls 2

starts_withFunction · 0.85
packet_write_fmtFunction · 0.85

Tested by

no test coverage detected