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

Function path_is_for_direct_objects

path-walk.c:290–294  ·  view source on GitHub ↗

* Paths starting with '/' (e.g., "/tags", "/tagged-blobs") hold objects that * were directly requested by 'pending' objects rather than discovered during * tree traversal. */

Source from the content-addressed store, hash-verified

288 * tree traversal.
289 */
290static int path_is_for_direct_objects(const char *path)
291{
292 ASSERT(path);
293 return path[0] == '/';
294}
295
296/*
297 * For each path in paths_to_explore, walk the trees another level

Callers 1

walk_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected