Write `content` to `dir/rel`, creating parent dirs.
(dir: &Path, rel: &str, content: &str)
| 10 | |
| 11 | /// Write `content` to `dir/rel`, creating parent dirs. |
| 12 | fn write(dir: &Path, rel: &str, content: &str) { |
| 13 | let path = dir.join(rel); |
| 14 | fs::create_dir_all(path.parent().unwrap()).unwrap(); |
| 15 | fs::write(path, content).unwrap(); |
| 16 | } |
| 17 | |
| 18 | /// A realistic agent dir exercising every sub-convention at once. |
| 19 | fn build_full_agent_dir() -> tempfile::TempDir { |
no outgoing calls
no test coverage detected