19 lines
579 B
Rust
19 lines
579 B
Rust
//! Copyright (c) 2022-2026 GitDataAi All rights reserved.
|
|
|
|
//! Git hooks management for GitKS.
|
|
//!
|
|
//! Supports three layers of hooks:
|
|
//! 1. Server hooks: admin-level, shared across all repositories
|
|
//! 2. Custom hooks: per-repository, user-defined scripts
|
|
//! 3. gRPC callback hooks: external HookService via gRPC
|
|
//!
|
|
//! Hook scripts are installed into bare repositories' `hooks/` directory
|
|
//! and are automatically invoked by git during receive-pack operations.
|
|
|
|
pub mod manager;
|
|
pub mod runner;
|
|
pub mod sanitize;
|
|
|
|
pub use manager::HookManager;
|
|
pub use runner::HookResult;
|