(self, prep: Any)
| 572 | self.matching = config.pop("matching", "*") |
| 573 | |
| 574 | def run(self, prep: Any) -> None: |
| 575 | super().run(prep) |
| 576 | for src in self.inputs(): |
| 577 | dst = self.path / self.destination / src |
| 578 | dst.parent.mkdir(parents=True, exist_ok=True) |
| 579 | shutil.copy(self.rd.root / self.source / src, dst) |
| 580 | |
| 581 | def inputs(self) -> set[str]: |
| 582 | return set(git.expand_globs(self.rd.root / self.source, self.matching)) |
no test coverage detected