(s: &str)
| 76 | } |
| 77 | |
| 78 | fn make_project(s: &str) -> Result<Action, &'static str> { |
| 79 | if Path::new(s).exists() { |
| 80 | retry!("{} already exists, retry another path!", s); |
| 81 | return Ok(Action::Retry); |
| 82 | } |
| 83 | |
| 84 | CONTEXT.lock().unwrap().project_path = s.to_owned(); |
| 85 | |
| 86 | Ok(Action::Next) |
| 87 | } |
| 88 | |
| 89 | fn substitute_model_inp(s: &str) -> Result<Action, &'static str> { |
| 90 | let dir = &CONTEXT.lock().unwrap().project_path; |
nothing calls this directly
no outgoing calls
no test coverage detected