chore(copyright): add copyright headers to all source files
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::archive_service_server::ArchiveService;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::bare::GitBare;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::blame_service_server::BlameService;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::branch_service_server::BranchService;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::commit_service_server::CommitService;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
use gitks::bare::GitBare;
|
||||
use gitks::server::GitksService;
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::commit_service_server::CommitService;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
//! Tests for DiskCache and PackCache.
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
use gitks::error::GitError;
|
||||
|
||||
#[test]
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
//! Tests for hooks system.
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
|
||||
#[test]
|
||||
fn test_metrics_render_all_counters() {
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
use gitks::bare::GitBare;
|
||||
use gitks::pb::{
|
||||
CreateCommitAction, CreateCommitRequest, FindFilesRequest, FsckRequest, GetBlobRequest,
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::GetLanguageStatsRequest;
|
||||
|
||||
@@ -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};
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::commit_service_server::CommitService;
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::*;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
fn hdr() -> gitks::pb::RepositoryHeader {
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::bare::GitBare;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
use gitks::sanitize::*;
|
||||
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
//! Tests for snapshot operations.
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::tag_service_server::TagService;
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
||||
|
||||
mod common;
|
||||
|
||||
use gitks::pb::tree_service_server::TreeService;
|
||||
|
||||
Reference in New Issue
Block a user