Commit Diff


commit - ecefe0f2d76e9d8acaf99fa0a463bf38d0b0c167
commit + 55948249dc480929b23aa0eccbc667e0e396e946
blob - 2f22f72c30139e3e229bc75455029cc276027ef7
blob + 856a68ca0df76057a544c91ef5a0b6a2d93da61f
--- src/metrics.rs
+++ src/metrics.rs
@@ -6,7 +6,7 @@ use std::{
 
 use crate::s6::{ServiceDir, Status};
 
-pub fn escape(string: &str) -> Cow<str> {
+fn escape(string: &str) -> Cow<str> {
     let escapes = string
         .chars()
         .filter(|c| *c == '\n' || *c == '"' || *c == '\\')
blob - 3963632aa41bbc89dc4610558faa43664222cb35
blob + df799521a687049eaa726088c6b118d3da3b69c9
--- src/s6.rs
+++ src/s6.rs
@@ -22,7 +22,7 @@ fn locked(f: &File) -> io::Result<bool> {
     }
 }
 
-pub struct SvStatus {
+struct SvStatus {
     pid: u64,
     wstat: u16,
     paused: bool,