aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkballou <kballou@devnulllabs.io>2017-02-20 17:19:10 -0700
committerkballou <kballou@devnulllabs.io>2017-02-20 17:19:10 -0700
commit9ab1676caf6a6fb58c10b1d57f023aff4ee58880 (patch)
treeddefe9758cd059cb9482a8e971f132853ab33d49
parent557ef577085017887cfbc8bcc8445b719a78cf95 (diff)
downloadexgit-wip_packfile.tar.gz
exgit-wip_packfile.tar.xz
WIP: being parsing objectswip_packfile
-rw-r--r--lib/exgit/packfile.ex6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/exgit/packfile.ex b/lib/exgit/packfile.ex
index 3823259..ebe1974 100644
--- a/lib/exgit/packfile.ex
+++ b/lib/exgit/packfile.ex
@@ -13,6 +13,10 @@ defmodule Exgit.Packfile do
binary,
binary}]
def parse_objects(n, pack) do
- nil
+ pack |> IO.inspect
+ end
+
+ defp parse_object(data) do
+ <<type :: size(4), _>> = data
end
end