summaryrefslogtreecommitdiffstats
path: root/src/watch/mirror.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/watch/mirror.rs')
-rw-r--r--src/watch/mirror.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/watch/mirror.rs b/src/watch/mirror.rs
index d7c793b..5b7e2b1 100644
--- a/src/watch/mirror.rs
+++ b/src/watch/mirror.rs
@@ -69,7 +69,7 @@ impl Tree {
pub fn recipe_hash(&self) -> String {
crate::hash::recipe_hash(&self.blobs)
}
- pub fn json_list(&self) -> String {
+ pub(crate) fn json_list(&self) -> String {
serde_json::to_string(&self.blobs).unwrap_or_else(|_| "[]".into())
}
}