remove this dotfile from config
(self, key)
| 474 | return True |
| 475 | |
| 476 | def del_dotfile(self, key): |
| 477 | """remove this dotfile from config""" |
| 478 | if key not in self._yaml_dict[self.key_dotfiles]: |
| 479 | self._log.err(f'key not in dotfiles: {key}') |
| 480 | return False |
| 481 | if self._debug: |
| 482 | self._dbg(f'remove dotfile: {key}') |
| 483 | del self._yaml_dict[self.key_dotfiles][key] |
| 484 | if self._debug: |
| 485 | dfs = self._yaml_dict[self.key_dotfiles] |
| 486 | self._dbg(f'new dotfiles: {dfs}') |
| 487 | self._dirty = True |
| 488 | return True |
| 489 | |
| 490 | def del_dotfile_from_profile(self, df_key, pro_key): |
| 491 | """remove this dotfile from that profile""" |
no test coverage detected