Production root pointing at the real `/sys` filesystem.
()
| 20 | impl SysfsRoot { |
| 21 | /// Production root pointing at the real `/sys` filesystem. |
| 22 | pub fn system() -> Self { |
| 23 | Self { |
| 24 | base: PathBuf::from("/sys"), |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | /// Custom root for testing. |
| 29 | pub fn new(base: impl Into<PathBuf>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected