Allow getting a tree entry

This commit is contained in:
Carlos Martín Nieto
2013-03-02 02:56:58 +01:00
parent 1807ba4374
commit b5b68cce8b
8 changed files with 125 additions and 6 deletions

View File

@@ -3,9 +3,11 @@
-record(odb, {handle}).
-record(oid, {oid}).
-record(object, {type :: atom(), handle}).
-record(tree_entry, {mode, type :: atom(), id :: oid(), name :: binary()}).
-type ref() :: #ref{}.
-type repo() :: #repo{}.
-type odb() :: #odb{}.
-type oid() :: #oid{}.
-type object() :: #object{}.
-type tree_entry() :: #tree_entry{}.