summaryrefslogtreecommitdiffstats
path: root/src/ops.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.rs')
-rw-r--r--src/ops.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ops.rs b/src/ops.rs
index fd3fb42..d43c528 100644
--- a/src/ops.rs
+++ b/src/ops.rs
@@ -230,7 +230,7 @@ fn dir_bytes(path: &Path) -> u64 {
total
}
-pub fn plan_retention(db: &Db, keep: usize) -> Result<(Vec<i64>, Vec<EvictPlan>)> {
+pub(crate) fn plan_retention(db: &Db, keep: usize) -> Result<(Vec<i64>, Vec<EvictPlan>)> {
let keep = keep.max(1);
let pkgbases = db::pkgbase_release_pointers(db)?;
@@ -259,7 +259,7 @@ pub fn plan_retention(db: &Db, keep: usize) -> Result<(Vec<i64>, Vec<EvictPlan>)
}
#[derive(Debug, Clone)]
-pub struct EvictPlan {
+pub(crate) struct EvictPlan {
pub release_id: i64,
}