diff options
Diffstat (limited to 'src/watch/mirror.rs')
| -rw-r--r-- | src/watch/mirror.rs | 2 |
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()) } } |
