feat(repository): add api method for revparse_single

This commit is contained in:
Aleksey Kulikov 2021-09-01 10:42:24 +03:00
parent 2e0486c641
commit 3b13646b1b
5 changed files with 43 additions and 5 deletions

View file

@ -511,6 +511,8 @@ Pointer<git_repository> wrapODB(Pointer<git_odb> odb) {
}
/// Find a single object, as specified by a [spec] string.
/// See `man gitrevisions`, or https://git-scm.com/docs/git-rev-parse.html#_specifying_revisions
/// for information on the syntax accepted.
///
/// The returned object should be released when no longer needed.
///