summaryrefslogtreecommitdiffstats
path: root/src/usecase
diff options
context:
space:
mode:
authoraur-build <aur-build@localhost>2026-11-22 10:51:45 +0000
committeraur-build <aur-build@localhost>2026-11-22 10:51:45 +0000
commit053dfbca8a4955a616e9b2c0f5a5d664c0db7aef (patch)
tree969777fa32845f49723c52b1889c4870c98134cf /src/usecase
parent1e1e12e7220a3fd288782ae40f0823db32acf6cb (diff)
downloadaur-build-053dfbca8a4955a616e9b2c0f5a5d664c0db7aef.tar.gz
aur-build-053dfbca8a4955a616e9b2c0f5a5d664c0db7aef.zip
src,tests: retire the census commentary from the source
A gated item used to carry its own defence: why it is `pub` only under `test-support`, which census once mistook a filename for a caller, why a wrapper is compiled out rather than deleted. The budget file already holds those claims and the ratchet already checks them, so the source keeps the one line that says what the item is. The module headers stop narrating the refactor that produced them. What survives is the wire protocol, the git pipe, the poisoned lock that must be recovered rather than unwedged.
Diffstat (limited to 'src/usecase')
-rw-r--r--src/usecase/detect.rs1
-rw-r--r--src/usecase/maintenance.rs1
-rw-r--r--src/usecase/reviews.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/usecase/detect.rs b/src/usecase/detect.rs
index 81042f7..67cc83c 100644
--- a/src/usecase/detect.rs
+++ b/src/usecase/detect.rs
@@ -11,7 +11,6 @@ use crate::watch::detect::{self, Outcome};
/// subscription should not stop at the first pkgbase whose mirror is
/// unreachable, and the caller decides whether a failure is a line on stderr
/// or a row in a table.
-// Checked stays `pub`: what `usecase::detect` returns to the `aur-build` binary, which is a separate crate.
pub struct Checked {
pub pkgbase: String,
pub outcome: Result<Outcome>,
diff --git a/src/usecase/maintenance.rs b/src/usecase/maintenance.rs
index 8c66ee2..4276016 100644
--- a/src/usecase/maintenance.rs
+++ b/src/usecase/maintenance.rs
@@ -8,7 +8,6 @@ use crate::error::Result;
use crate::ops;
/// What a garbage collection would do, before anything is deleted.
-// GcPlan stays `pub`: what `usecase::plan_gc` returns to the `aur-build` binary, which is a separate crate.
pub struct GcPlan {
pub keep: usize,
/// Releases whose files survive.
diff --git a/src/usecase/reviews.rs b/src/usecase/reviews.rs
index c58e39b..8cbb534 100644
--- a/src/usecase/reviews.rs
+++ b/src/usecase/reviews.rs
@@ -7,7 +7,6 @@ use crate::pipeline;
use crate::review::{approve as ap, candidates, diff};
/// The diff a reviewer is being asked to look at, already recorded.
-// Prepared stays `pub`: what `prepare_review` and `view_review` return to the `aur-build` binary, which is a separate crate.
pub struct Prepared {
pub candidate: CandidateRow,
pub text: String,