Complete the definition of the index_entry record

Most of the values are ignored, though
This commit is contained in:
Carlos Martín Nieto
2013-05-27 01:07:04 +02:00
parent 7b1dacffc7
commit 2ebfc7b4d3
2 changed files with 12 additions and 5 deletions

View File

@@ -1,7 +1,14 @@
-record(geef_ref, {handle, name :: binary(), type :: atom(), target :: binary() | geef_oid()}).
-record(geef_oid, {oid}).
-record(geef_object, {type :: atom(), handle}).
-record(geef_index_entry, {mode, id :: geef_oid(), path :: iolist()}).
-record(geef_index_entry,
{ctime :: non_neg_integer(), mtime :: non_neg_integer(),
dev :: non_neg_integer(), ino :: non_neg_integer(),
mode :: non_neg_integer(), uid :: non_neg_integer(), gid :: non_neg_integer(),
size :: non_neg_integer(),
id :: geef_oid(),
flags, flags_extended,
path :: iolist()}).
-type geef_ref() :: #geef_ref{}.
-type geef_oid() :: #geef_oid{}.