Whether a path exists in the tree (any entry kind).
(git_repo: &GitRepository, tree: &Tree, path: &str)
| 9551 | |
| 9552 | /// Whether a path exists in the tree (any entry kind). |
| 9553 | fn tree_entry_exists(git_repo: &GitRepository, tree: &Tree, path: &str) -> bool { |
| 9554 | git_tree_entry(git_repo, tree, path).is_ok() |
| 9555 | } |
| 9556 | |
| 9557 | /// Whether `path` lies under a path this same commit vacates: a regular |
| 9558 | /// file or symlink replaced by a directory of the same name. |
no test coverage detected