tree: don't use a record for tree entry
Return the four elements directly
This commit is contained in:
@@ -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{}.
|
||||
|
||||
Reference in New Issue
Block a user