Go to file
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
.idea feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
archive feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
blame feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
blob feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
branch feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
commit feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
diff feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
merge feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
pack feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
pb feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
proto feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
refs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
server test(bare): add comprehensive tests for GitBare functionality 2026-06-04 15:33:33 +08:00
tag feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
tests test(bare): add comprehensive tests for GitBare functionality 2026-06-04 15:33:33 +08:00
tree feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
.dockerignore feat(build): add Docker support for gitks application 2026-06-04 14:11:55 +08:00
.gitignore feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
bare.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
build.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
Cargo.lock feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
Cargo.toml feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
Dockerfile feat(server): add repository prefix path configuration and service struct 2026-06-04 14:18:12 +08:00
error.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
init.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
lib.rs feat(tree): add recent commit metadata and LFS support to file metadata 2026-06-04 13:47:46 +08:00
LICENSE feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
main.rs feat(server): add tracing spans and caching to archive and blame services 2026-06-04 15:33:16 +08:00
oid.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
paginate.rs feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00
README.md feat(core): implement Git repository operations with gRPC services 2026-06-04 13:05:38 +08:00

gitks

A Git bare repository operation library based on gRPC.

License

PolyForm Noncommercial 1.0.0 — Free for noncommercial use. For commercial licenses, please contact us.