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

Function ends_with_path_components

path.c:1314–1317  ·  view source on GitHub ↗

* Returns true if the path ends with components, considering only complete path * components, and false otherwise. */

Source from the content-addressed store, hash-verified

1312 * components, and false otherwise.
1313 */
1314int ends_with_path_components(const char *path, const char *components)
1315{
1316 return stripped_path_suffix_offset(path, components) != -1;
1317}
1318
1319/*
1320 * If path ends with suffix (complete path components), returns the

Callers 2

is_implicit_bare_repoFunction · 0.85
apply_patchFunction · 0.85

Calls 1

Tested by

no test coverage detected