MCPcopy Index your code
hub / github.com/git/git / has_subcommands

Function has_subcommands

parse-options.c:738–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

736}
737
738static int has_subcommands(const struct option *options)
739{
740 for (; options->type != OPTION_END; options++)
741 if (options->type == OPTION_SUBCOMMAND)
742 return 1;
743 return 0;
744}
745
746static void parse_options_start_1(struct parse_opt_ctx_t *ctx,
747 int argc, const char **argv, const char *prefix,

Callers 1

parse_options_start_1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected