summaryrefslogtreecommitdiff
path: root/src/object.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/object.rs')
-rw-r--r--src/object.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/object.rs b/src/object.rs
new file mode 100644
index 0000000..6374911
--- /dev/null
+++ b/src/object.rs
@@ -0,0 +1,12 @@
+enum GitObjectType {
+ Blob,
+ Commit,
+ Tag,
+ Tree,
+}
+
+struct GitObject {
+ object_type: GitObjectType,
+ size: usize,
+ data: Vec<u8>,
+} \ No newline at end of file