(self)
| 300 | return os.path.dirname(self._active_file_name()) |
| 301 | |
| 302 | def is_enabled(self): |
| 303 | file_name = self._active_file_name() |
| 304 | if file_name and os.path.exists(file_name): |
| 305 | return bool(get_vcs(self.get_working_dir())) |
| 306 | return False |
| 307 | |
| 308 | |
| 309 | class DiffCommand(VcsCommand): |
nothing calls this directly
no test coverage detected