(&self, path: &str, content: &str, message: &str)
| 73 | } |
| 74 | |
| 75 | fn commit(&self, path: &str, content: &str, message: &str) { |
| 76 | fs::write(self.dir().join(path), content).unwrap(); |
| 77 | self.git(&["add", path]); |
| 78 | self.git(&["commit", "-q", "-m", message]); |
| 79 | } |
| 80 | |
| 81 | fn log_dir(&self) -> PathBuf { |
| 82 | self.home.path().join(".atomic").join("logs") |
no test coverage detected