(&self)
| 231 | } |
| 232 | |
| 233 | pub fn parent_topic_ids(&self) -> Vec<ExternalId> { |
| 234 | self.repo_topic |
| 235 | .parent_topics |
| 236 | .iter() |
| 237 | .map(|parent| parent.id.to_owned()) |
| 238 | .collect_vec() |
| 239 | } |
| 240 | |
| 241 | pub fn in_repo(&self, repo_id: RepoId) -> bool { |
| 242 | self.repo_id == repo_id |
no test coverage detected