pub fn added_by_from(
root: &Path,
path: &Path,
start: &str,
) -> Result<Option<AddedBy>>Expand description
added_by from start instead of HEAD.
A fragment a candidate’s Version PR deleted is gone from HEAD, so its origin is found from a commit that still contains it: the first parent of the commit that deleted it.
§Errors
Returns an error when start names no commit in the repository, and under
the conditions of added_by.