chore(copyright): add copyright headers to all source files

This commit is contained in:
zhenyi
2026-06-12 15:06:39 +08:00
parent 70f2f7d63d
commit 44fe5a519b
139 changed files with 278 additions and 0 deletions
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::commit::create_commit::command_ok;
use crate::error::{GitError, GitResult};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::commit::list_commits::read_commit_from_repo;
use crate::diff::get_diff_stats::diff_stats_for_range;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::GitResult;
use crate::pb::*;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::{GitError, GitResult};
use crate::oid::ZERO_OID;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::{GitError, GitResult};
use crate::pb::*;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::{GitError, GitResult};
use crate::pb::{Commit, GetCommitRequest};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::GitResult;
use crate::pb::{GetCommitAncestorsRequest, GetCommitAncestorsResponse, ListCommitsRequest};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::{GitError, GitResult};
use crate::pb::{Commit, ListCommitsRequest, ListCommitsResponse};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
pub mod cherry_pick_commit;
pub mod compare_commits;
pub mod count_commits;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::error::GitResult;
use crate::pb::*;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use crate::bare::GitBare;
use crate::commit::create_commit::command_ok;
use crate::error::{GitError, GitResult};
+2
View File
@@ -1 +1,3 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.