summaryrefslogtreecommitdiffstats
path: root/src/usecase
diff options
context:
space:
mode:
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, 3 insertions, 0 deletions
diff --git a/src/usecase/detect.rs b/src/usecase/detect.rs
index 67cc83c..81042f7 100644
--- a/src/usecase/detect.rs
+++ b/src/usecase/detect.rs
@@ -11,6 +11,7 @@ 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 4276016..8c66ee2 100644
--- a/src/usecase/maintenance.rs
+++ b/src/usecase/maintenance.rs
@@ -8,6 +8,7 @@ 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 8cbb534..c58e39b 100644
--- a/src/usecase/reviews.rs
+++ b/src/usecase/reviews.rs
@@ -7,6 +7,7 @@ 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,