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

Function active_paths_for

builtin/last-modified.c:68–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66};
67
68static struct bitmap *active_paths_for(struct last_modified *lm, struct commit *c)
69{
70 struct bitmap **bitmap = active_paths_for_commit_at(&lm->active_paths, c);
71 if (!*bitmap)
72 *bitmap = bitmap_word_alloc(lm->all_paths_nr / BITS_IN_EWORD + 1);
73
74 return *bitmap;
75}
76
77static void active_paths_free(struct last_modified *lm, struct commit *c)
78{

Callers 2

process_parentFunction · 0.85
last_modified_runFunction · 0.85

Calls 1

bitmap_word_allocFunction · 0.85

Tested by

no test coverage detected