()
| 106 | /// Default working directory for VM driver state. |
| 107 | #[must_use] |
| 108 | pub fn default_state_dir() -> PathBuf { |
| 109 | openshell_core::paths::openshell_state_dir().map_or_else( |
| 110 | |_| PathBuf::from("target/openshell-vm-driver"), |
| 111 | |dir| dir.join("vm-driver"), |
| 112 | ) |
| 113 | } |
| 114 | |
| 115 | /// Default libkrun log level. |
| 116 | #[must_use] |
nothing calls this directly
no test coverage detected