gitkk/server
zhenyi 7631e57f69 test(bare): add comprehensive tests for GitBare functionality
- Add test_from_header_valid to verify valid repository header parsing
- Add test_from_header_empty_path to handle empty path scenarios
- Add test_from_header_relative_storage_path to validate absolute paths
- Add test_from_header_relative_path_without_storage for missing storage
- Add test_from_header_nonexistent_repo to check repo existence
- Add test_from_header_path_traversal to prevent directory traversal
- Add test_from_header_not_a_directory for file instead of directory
- Add test_from_header_dir_without_head to verify bare repository format
- Add test_object_format to validate object format detection
- Add test_oid_to_pb to verify OID conversion functionality
- Add test_oid_to_pb_invalid_hex to handle invalid hex input gracefully

test(error): add comprehensive error handling tests

- Add test_error_display_variants to verify error message formatting
- Add test_error_is_debug to
2026-06-04 15:33:33 +08:00
..
archive.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
blame.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
branch.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
cache.rs test(bare): add comprehensive tests for GitBare functionality 2026-06-04 15:33:33 +08:00
commit.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
diff.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
merge.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
mod.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
pack.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
repository_maint.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
repository.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
tag.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
tree.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00