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

Function lookup_archiver

archive.c:383–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

381}
382
383static const struct archiver *lookup_archiver(const char *name)
384{
385 int i;
386
387 if (!name)
388 return NULL;
389
390 for (i = 0; i < nr_archivers; i++) {
391 if (!strcmp(name, archivers[i]->name))
392 return archivers[i];
393 }
394 return NULL;
395}
396
397struct path_exists_context {
398 struct pathspec pathspec;

Callers 1

parse_archive_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected