compare a file
(self, local_path, deployed_path, ignore)
| 106 | return ret |
| 107 | |
| 108 | def _comp_file(self, local_path, deployed_path, ignore): |
| 109 | """compare a file""" |
| 110 | self.log.dbg(f'compare file {local_path} with {deployed_path}') |
| 111 | if (self.ignore_missing_in_dotdrop and not |
| 112 | os.path.exists(local_path)) \ |
| 113 | or must_ignore([local_path, deployed_path], ignore, |
| 114 | debug=self.debug): |
| 115 | self.log.dbg(f'ignoring diff {local_path} and {deployed_path}') |
| 116 | return '' |
| 117 | return self._diff(local_path, deployed_path, header=True) |
| 118 | |
| 119 | def _comp_dir(self, local_path, deployed_path, ignore): |
| 120 | """compare a directory""" |
no test coverage detected