Initial upload: GitPulse - Developer Productivity Analyzer CLI tool
This commit is contained in:
17
src/models/commit.rs
Normal file
17
src/models/commit.rs
Normal file
@@ -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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user