(&mut self, repo_id: RepoId, id: &ExternalId, oid: git2::Oid)
| 658 | } |
| 659 | |
| 660 | fn save_object(&mut self, repo_id: RepoId, id: &ExternalId, oid: git2::Oid) -> Result<()> { |
| 661 | let filename = id.object_filename()?; |
| 662 | self.files.insert((repo_id, filename), Some(oid)); |
| 663 | Ok(()) |
| 664 | } |
| 665 | |
| 666 | pub fn save_topic(&mut self, repo_id: RepoId, topic: &RepoTopic) -> Result<()> { |
| 667 | self.check_can_update(repo_id)?; |
no test coverage detected