docs: add more examples

This commit is contained in:
Aleksey Kulikov 2022-05-04 16:34:59 +03:00
parent 0d78a99b55
commit c73f61d102
3 changed files with 132 additions and 7 deletions

View file

@ -4,10 +4,6 @@ import 'package:libgit2dart/libgit2dart.dart';
import 'package:libgit2dart/src/bindings/annotated.dart' as bindings;
import 'package:libgit2dart/src/bindings/libgit2_bindings.dart';
/// An annotated commit contains information about how it was looked up, which
/// may be useful for functions like merge or rebase to provide context to the
/// operation. For example, conflict files will include the name of the source
/// or target branches being merged.
class AnnotatedCommit {
/// Lookups an annotated commit from the given commit [oid].
///