commit 2c5ccc3dc6a01b7b90212f60bd70faf6d2271b39
parent 74b4e93e6e52dfd54c58f09b4b39971d826ccd3b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 17 Mar 2021 02:23:29 +0100
parent 74b4e93e6e52dfd54c58f09b4b39971d826ccd3b
Author: Leah (ctucx) <leah@ctu.cx>
Date: Wed, 17 Mar 2021 02:23:29 +0100
import new oid file
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nimgit.nim b/nimgit.nim @@ -1,6 +1,6 @@ import nimgit2 -import nimgit/[types, free, repository, objects, reference, revisionWalker, branch, commit] +import nimgit/[types, free, repository, objects, oid, reference, revisionWalker, branch, commit] export nimgit2 -export types, free, objects, repository, reference, revisionWalker, branch, commit +export types, free, repository, objects, oid, reference, revisionWalker, branch, commit
diff --git a/nimgit/commit.nim b/nimgit/commit.nim @@ -1,5 +1,5 @@ import nimgit2 -import types, free, utils +import types, free, utils, oid proc lookupCommit* (repo: GitRepository, oid: GitObjectId): GitCommit = let error = git_commit_lookup(addr result, repo, oid)
diff --git a/nimgit/revisionWalker.nim b/nimgit/revisionWalker.nim @@ -1,5 +1,5 @@ import nimgit2 -import types, free, objects +import types, free, oid proc walk* (repo: GitRepository): GitRevisionWalker = let error = git_revwalk_new(addr result, repo)