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.
mod common;
use gitks::pb::archive_service_server::ArchiveService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::bare::GitBare;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::blame_service_server::BlameService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::branch_service_server::BranchService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::commit_service_server::CommitService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::bare::GitBare;
use gitks::server::GitksService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::commit_service_server::CommitService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
//! Tests for DiskCache and PackCache.
use std::path::PathBuf;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::error::GitError;
#[test]
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
//! Tests for hooks system.
use std::path::PathBuf;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
#[test]
fn test_metrics_render_all_counters() {
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::bare::GitBare;
use gitks::pb::{
CreateCommitAction, CreateCommitRequest, FindFilesRequest, FsckRequest, GetBlobRequest,
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::GetLanguageStatsRequest;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::error::GitResult;
use gitks::pb::object_selector::Selector;
use gitks::pb::{ObjectName, ObjectSelector};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::commit_service_server::CommitService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::error::GitError;
use gitks::oid::{ObjectId, ZERO_OID, hex_to_bytes};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::*;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
fn hdr() -> gitks::pb::RepositoryHeader {
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::pb::*;
use gitks::remote::find_remote::{find_remote_repository, find_remote_root_ref};
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::bare::GitBare;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
use gitks::sanitize::*;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
//! Tests for snapshot operations.
use std::path::PathBuf;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::tag_service_server::TagService;
+2
View File
@@ -1,3 +1,5 @@
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
mod common;
use gitks::pb::tree_service_server::TreeService;