(self, dest_path: Path)
| 416 | self.save_user_creds(save_path, password=password) |
| 417 | |
| 418 | def save_user_config(self, dest_path: Path) -> None: |
| 419 | if not is_valid_path(dest_path): |
| 420 | error(f'Invalid path {dest_path}. User configuration could not be saved.') |
| 421 | return |
| 422 | |
| 423 | target = dest_path / USER_CONFIG_FILE |
| 424 | data = self.user_config_to_json() |
| 425 | target.write_text(data) |
| 426 | target.chmod(stat.S_IRUSR | stat.S_IWUSR | stat.S_IRGRP) |
| 427 | |
| 428 | def save_user_creds( |
| 429 | self, |
no test coverage detected