From ef4a0d71e76382fd3cfd290f39877b58893ffe18 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Wed, 4 Feb 2026 15:45:36 +0000 Subject: [PATCH] Initial upload: GitPulse - Developer Productivity Analyzer CLI tool --- src/models/commit.rs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/models/commit.rs diff --git a/src/models/commit.rs b/src/models/commit.rs new file mode 100644 index 0000000..6660566 --- /dev/null +++ b/src/models/commit.rs @@ -0,0 +1,17 @@ +use serde::{Deserialize, Serialize}; + +#[derive(Debug, Clone, Serialize, Deserialize)] +pub struct CommitData { + pub oid: String, + pub short_oid: String, + pub message: String, + pub summary: String, + pub author: String, + pub author_email: String, + pub timestamp: String, + pub parent_count: usize, + pub is_merge: bool, + pub lines_added: usize, + pub lines_removed: usize, + pub files_changed: usize, +}