(&self, git_chain: &GitChain, force_push: bool)
| 325 | } |
| 326 | |
| 327 | pub fn push(&self, git_chain: &GitChain, force_push: bool) -> Result<usize, Error> { |
| 328 | let mut num_of_pushes = 0; |
| 329 | for branch in &self.branches { |
| 330 | if branch.push(git_chain, force_push)? { |
| 331 | num_of_pushes += 1; |
| 332 | } |
| 333 | } |
| 334 | Ok(num_of_pushes) |
| 335 | } |
| 336 | |
| 337 | pub fn prune(&self, git_chain: &GitChain, dry_run: bool) -> Result<Vec<String>, Error> { |
| 338 | let mut pruned_branches = vec![]; |
no outgoing calls
no test coverage detected