diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-27 16:07:57 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-27 16:07:57 +0000 |
| commit | adf22539e3c1b4a96fa4b8fe04095c216b4d5541 (patch) | |
| tree | 557a1b90f05cac3c568405aafef2cff580ab61f7 /grasp-audit/src/lib.rs | |
| parent | 5a24e09842e01929b76c5da3bf936bca572700f0 (diff) | |
Task 7: Export verification helpers in public API
- Added send_and_verify_accepted to lib.rs exports
- Added send_and_verify_rejected to lib.rs exports
- Organized exports into logical groups with comments:
* Git operation helpers
* Verification helpers
* Repo setup helpers
* Types and constants
- Build succeeds: cargo build
Diffstat (limited to 'grasp-audit/src/lib.rs')
| -rw-r--r-- | grasp-audit/src/lib.rs | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/grasp-audit/src/lib.rs b/grasp-audit/src/lib.rs index a58c2f0..2d5531b 100644 --- a/grasp-audit/src/lib.rs +++ b/grasp-audit/src/lib.rs | |||
| @@ -38,10 +38,16 @@ pub mod specs; | |||
| 38 | pub use audit::{AuditConfig, AuditMode}; | 38 | pub use audit::{AuditConfig, AuditMode}; |
| 39 | pub use client::AuditClient; | 39 | pub use client::AuditClient; |
| 40 | pub use fixtures::{ | 40 | pub use fixtures::{ |
| 41 | // Git operation helpers | ||
| 41 | clone_repo, create_commit, create_deterministic_commit, create_deterministic_commit_with_variant, | 42 | clone_repo, create_commit, create_deterministic_commit, create_deterministic_commit_with_variant, |
| 42 | CommitVariant, ContextMode, FixtureKind, RepoSetup, TestContext, | 43 | try_push, |
| 44 | // Verification helpers | ||
| 45 | send_and_verify_accepted, send_and_verify_rejected, | ||
| 46 | // Repo setup helpers | ||
| 43 | setup_repo_for_maintainer, setup_repo_for_recursive_maintainer, setup_repo_with_deterministic_commit, | 47 | setup_repo_for_maintainer, setup_repo_for_recursive_maintainer, setup_repo_with_deterministic_commit, |
| 44 | try_push, DETERMINISTIC_COMMIT_HASH, MAINTAINER_DETERMINISTIC_COMMIT_HASH, | 48 | // Types and constants |
| 49 | CommitVariant, ContextMode, FixtureKind, RepoSetup, TestContext, | ||
| 50 | DETERMINISTIC_COMMIT_HASH, MAINTAINER_DETERMINISTIC_COMMIT_HASH, | ||
| 45 | RECURSIVE_MAINTAINER_DETERMINISTIC_COMMIT_HASH, | 51 | RECURSIVE_MAINTAINER_DETERMINISTIC_COMMIT_HASH, |
| 46 | }; | 52 | }; |
| 47 | pub use result::{AuditResult, TestResult}; | 53 | pub use result::{AuditResult, TestResult}; |