ctucx.git: nimgit

[nimlang] nim-wrapper for libgit2

commit c0a59f7b495043fb63af44a2876c79d5a9072576
parent d3ecac993a1dbf2ef167d3f5f2dca080baeb0d74
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 19 Mar 2021 14:01:35 +0100

update implemented.txt and showLastComnmit.nim
2 files changed, 13 insertions(+), 7 deletions(-)
M
implemented.txt
|
18
+++++++++++++-----
M
showLastCommit.nim
|
2
--
diff --git a/implemented.txt b/implemented.txt
@@ -7,8 +7,9 @@ blob.nim               owner                          git_blob_owner
 blob.nim               content                        git_blob_rawcontent
 blob.nim               size                           git_blob_rawsize
 blob.nim               isBinary                       git_blob_is_binary
+blob.nim               copy                           git_blob_dup
 Missing: git_blob_lookup_prefix, git_blob_filter_options_init, git_blob_filter,
-git_blob_create_from_*, git_blob_dup, git_blob_filtered_content
+git_blob_create_from_*, git_blob_filtered_content
 
 
 branch.nim             isLocalBranch                  git_reference_is_branch

@@ -39,10 +40,11 @@ commit.nim             parentId                       git_commit_parent_id
 commit.nim             parent                         git_commit_parent
 commit.nim             treeId                         git_commit_tree_id
 commit.nim             tree                           git_commit_tree
+commit.nim             copy                           git_commit_dup
 Missing: git_commit_lookup_prefix, git_commit_committer_with_mailmap,
 git_commit_author_with_mailmap, git_commit_nth_gen_ancestor, git_commit_header_field,
 git_commit_create, git_commit_create_v, git_commit_amend, git_commit_create_buffer
-git_commit_create_with_signature, git_commit_dup
+git_commit_create_with_signature
 
 
 free.nim               free                           git_repository_free

@@ -76,6 +78,7 @@ objects.nim            lookupObjectIdByName           git_reference_name_to_id
 objects.nim            lookupObject                   git_revparse_single
 objects.nim            type                           git_object_type
 objects.nim            shortId                        git_object_short_id
+objects.nim            copy                           git_object_dup
 
 reference.nim          getName                        git_reference_name
 reference.nim          getShortName                   git_reference_shorthand

@@ -90,6 +93,7 @@ reference.nim          resolveTarget                  git_reference_resolve
 reference.nim          getTarget                      git_reference_target
 reference.nim          getSymbolicTarget              git_reference_symbolic_target
 reference.nim          getGitReferenceNames           git_reference_list
+reference.nim          copy                           git_reference_dup
 
 repository.nim         openGitRepository              git_repository_open
 repository.nim         getHeadForWorktree             git_repository_head_for_worktree

@@ -124,9 +128,10 @@ tag.nim                target                         git_tag_target
 tag.nim                targetId                       git_tag_target_id
 tag.nim                peelTarget                     git_tag_peel
 tag.nim                targetType                     git_tag_target_type
+tag.nim                copy                           git_tag_dup
 Missing: git_tag_lookup_prefix, git_tag_create, git_tag_annotation_create, 
 git_tag_create_from_buffer, git_tag_create_lightweight, git_tag_delete, git_tag_list_match
-git_tag_foreach, git_tag_dup, git_tag_name_is_valid
+git_tag_foreach, git_tag_name_is_valid
 
 tree.nim               lookupTree                     git_tree_lookup
 tree.nim               owner                          git_tree_owner

@@ -136,11 +141,14 @@ tree.nim               entry                          git_tree_entry_byindex
 tree.nim               entry                          git_tree_entry_byid
 tree.nim               entry                          git_tree_entry_byname
 tree.nim               entry                          git_tree_entry_bypath
-missing: git_tree_lookup_prefix, git_tree_dup, git_tree_create_updated, git_tree_entry_cmp
+tree.nim               copy                           git_tree_dup
+missing: git_tree_lookup_prefix, git_tree_create_updated, git_tree_entry_cmp
 
 treeEntry.nim          type                           git_tree_entry_type
 treeEntry.nim          id                             git_tree_entry_id
 treeEntry.nim          name                           git_tree_entry_name
 treeEntry.nim          mode                           git_tree_entry_filemode
 treeEntry.nim          object                         git_tree_entry_to_object
-missing: git_tree_entry_cmp, git_tree_entry_dup
+treeEntry.nim          copy                           git_tree_entry_dup
+treeEntry.nim          compare                        git_tree_entry_cmp
+missing: none!
diff --git a/showLastCommit.nim b/showLastCommit.nim
@@ -47,8 +47,6 @@ try:
 
       free(entry)
 
-    echo tree.entries
-
     echo ""
 
     free(tree)