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

Function prune_subdir

prune-packed.c:13–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11static struct progress *progress;
12
13static int prune_subdir(unsigned int nr, const char *path, void *data)
14{
15 int *opts = data;
16 display_progress(progress, nr + 1);
17 if (!(*opts & PRUNE_PACKED_DRY_RUN))
18 rmdir(path);
19 return 0;
20}
21
22static int prune_object(const struct object_id *oid, const char *path,
23 void *data)

Callers

nothing calls this directly

Calls 1

display_progressFunction · 0.85

Tested by

no test coverage detected