tree: don't use a record for tree entry

Return the four elements directly
This commit is contained in:
Carlos Martín Nieto
2013-03-28 05:39:26 +01:00
parent 7987f35e58
commit 5ee6b055e9
2 changed files with 4 additions and 5 deletions

View File

@@ -3,11 +3,9 @@
-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{}.