aboutsummaryrefslogtreecommitdiff
path: root/src/types/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/types/mod.rs30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/types/mod.rs b/src/types/mod.rs
deleted file mode 100644
index d764b84..0000000
--- a/src/types/mod.rs
+++ /dev/null
@@ -1,30 +0,0 @@
-//! Octopus data types
-
-/// A simple overview of a repository
-///
-/// This type can be generated by the octopus Repository state wrapper
-pub(crate) struct RepoData {
- pub owner: String,
- pub name: String,
- pub tagline: String,
- pub num_commit: usize,
- pub num_branch: usize,
- pub num_tag: usize,
- pub num_contributor: usize,
- pub size: String,
-}
-
-/// Data about an individual commit
-pub(crate) struct CommitData {
- pub hash: String,
- pub message: String,
- pub author: String,
- pub date: String,
- pub diff: (usize, usize),
-}
-
-/// Data about a branch
-pub(crate) struct BranchData {
- pub name: String,
- pub last_commit: CommitData,
-}