Files
gitks/lib.rs
T
zhenyi 10a4398e81 refactor(bare): enhance security and performance optimizations
- Remove unnecessary sorting in advertise_refs for deterministic output
- Add path traversal detection and validation in bare_dir construction
- Implement symlink resolution checks to prevent security vulnerabilities
- Refactor cache system with CRC validation and improved metrics
- Integrate repo-specific cache invalidation using indexed keys
- Add comprehensive unit tests for commit operations and diff functionality
- Move configuration constants to centralized config module
- Optimize string operations in disk cache random value generation
- Enhance license detection algorithm with cleaner matching logic
- Streamline argument processing in various git operations
- Update dependencies including crc32fast and flate2 for performance
- Add signal handling capability to tokio runtime configuration
2026-06-12 15:04:12 +08:00

30 lines
460 B
Rust

pub mod archive;
pub mod bare;
pub mod config;
pub mod blame;
pub mod blob;
pub mod branch;
pub mod commit;
pub mod diff;
pub mod disk_cache;
pub mod error;
pub mod hooks;
pub mod init;
pub mod macros;
pub mod merge;
pub mod metrics;
pub mod oid;
pub mod pack;
pub mod pack_cache;
pub mod paginate;
pub mod pb;
pub mod rate_limit;
pub mod refs;
pub mod remote;
pub mod repository;
pub mod sanitize;
pub mod server;
pub mod snapshot;
pub mod tag;
pub mod tree;