(project: &str)
| 114 | } |
| 115 | |
| 116 | fn is_windows_users_path(project: &str) -> bool { |
| 117 | let bytes = project.as_bytes(); |
| 118 | (bytes.len() >= 10 |
| 119 | && bytes[1] == b':' |
| 120 | && bytes[2] == b'\\' |
| 121 | && bytes[3..].starts_with(b"Users\\")) |
| 122 | || project.starts_with("\\Users\\") |
| 123 | } |
| 124 | |
| 125 | pub(crate) fn short_model_name(model: &str) -> String { |
| 126 | let model = model |
no test coverage detected