Create directory
(pname: &str, v: bool)
| 135 | |
| 136 | // Create directory |
| 137 | pub fn new_dir(pname: &str, v: bool) |
| 138 | { |
| 139 | if let Some(handle) = crate::fs::directory_new(pname) |
| 140 | { |
| 141 | crate::sys::sc::close(handle); |
| 142 | |
| 143 | if v |
| 144 | { |
| 145 | println!("[INFO] NEW DIRECTORY: {}", pname); |
| 146 | } |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | |
| 151 | // Set up a basic installation |
no test coverage detected