dotman-git 1.2.0__tar.gz → 1.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {dotman_git-1.2.0 → dotman_git-1.2.2}/CHANGELOG.md +34 -1
- {dotman_git-1.2.0/dotman_git.egg-info → dotman_git-1.2.2}/PKG-INFO +1 -1
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/__init__.py +1 -1
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/__init__.py +1 -4
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/common.py +0 -4
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/config_cmd.py +252 -262
- dotman_git-1.2.2/dot_man/cli/edit_cmd.py +185 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/init_cmd.py +58 -50
- dotman_git-1.2.2/dot_man/cli/remote_cmd.py +537 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/core.py +1 -1
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/dotman_config.py +2 -34
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/global_config.py +42 -22
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/save_deploy_ops.py +105 -148
- {dotman_git-1.2.0 → dotman_git-1.2.2/dotman_git.egg-info}/PKG-INFO +1 -1
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dotman_git.egg-info/SOURCES.txt +3 -1
- {dotman_git-1.2.0 → dotman_git-1.2.2}/pyproject.toml +1 -1
- dotman_git-1.2.2/tests/test_branch_cmd.py +483 -0
- dotman_git-1.2.2/tests/test_config_cmd.py +401 -0
- dotman_git-1.2.2/tests/test_deploy_cmd.py +579 -0
- dotman_git-1.2.2/tests/test_discover_cmd.py +387 -0
- dotman_git-1.2.2/tests/test_doctor_cmd.py +606 -0
- dotman_git-1.2.2/tests/test_edit_cmd.py +309 -0
- dotman_git-1.2.2/tests/test_encrypt_cmd.py +847 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_files_comprehensive.py +4 -2
- dotman_git-1.2.2/tests/test_import_cmd.py +914 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_init_cmd.py +1 -1
- dotman_git-1.2.2/tests/test_interactive.py +786 -0
- dotman_git-1.2.2/tests/test_log_cmd.py +755 -0
- dotman_git-1.2.2/tests/test_onboarding.py +618 -0
- dotman_git-1.2.2/tests/test_remote_cmd.py +850 -0
- dotman_git-1.2.2/tests/test_rollback_cmd.py +453 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_status_ops.py +8 -4
- dotman_git-1.2.2/tests/test_watch_cmd.py +307 -0
- dotman_git-1.2.0/dot_man/cli/edit_cmd.py +0 -177
- dotman_git-1.2.0/dot_man/cli/remote_cmd.py +0 -454
- dotman_git-1.2.0/tests/test_branch_cmd.py +0 -107
- dotman_git-1.2.0/tests/test_config_cmd.py +0 -116
- dotman_git-1.2.0/tests/test_deploy_cmd.py +0 -112
- dotman_git-1.2.0/tests/test_discover_cmd.py +0 -33
- dotman_git-1.2.0/tests/test_doctor_cmd.py +0 -90
- dotman_git-1.2.0/tests/test_edit_cmd.py +0 -50
- dotman_git-1.2.0/tests/test_encrypt_cmd.py +0 -114
- dotman_git-1.2.0/tests/test_import_cmd.py +0 -83
- dotman_git-1.2.0/tests/test_interactive.py +0 -188
- dotman_git-1.2.0/tests/test_log_cmd.py +0 -123
- dotman_git-1.2.0/tests/test_onboarding.py +0 -119
- dotman_git-1.2.0/tests/test_remote_cmd.py +0 -161
- {dotman_git-1.2.0 → dotman_git-1.2.2}/CONTRIBUTING.md +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/LICENSE +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/MANIFEST.in +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/README.md +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/backups.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/branch_ops.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/add_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/audit_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/backup_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/branch_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/clean_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/completions_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/deploy_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/discover_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/doctor_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/encrypt_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/export_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/import_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/interface.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/log_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/main.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/navigate_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/onboarding.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/profile_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/restore_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/revert_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/rollback_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/show_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/status_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/switch_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/tag_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/template_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/tui_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/verify_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/cli/watch_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/completions/_dot-man.zsh +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/completions/dot-man.bash +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/completions/dot-man.fish +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/completions/install.sh +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/config.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/config_detector.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/constants.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/encryption.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/exceptions.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/files.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/hooks.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/interactive.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/lock.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/merge.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/operations.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/py.typed +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/secrets.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/section.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/status_ops.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/tui_log.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/ui.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/utils.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dot_man/vault.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dotman_git.egg-info/dependency_links.txt +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dotman_git.egg-info/entry_points.txt +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dotman_git.egg-info/requires.txt +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/dotman_git.egg-info/top_level.txt +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/setup.cfg +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_add_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_audit_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_backup_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_backups.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_branch_ops.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_clean.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_cli_commands.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_cli_extra.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_cli_help.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_cli_revert.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_cli_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_common_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_completion.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_completions_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_comprehensive.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_config.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_config_cmd_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_config_ops_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_config_preservation.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_config_section.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_core.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_core_extended.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_core_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_custom_secrets.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_dotman_config.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_encryption.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_exceptions.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_export_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_files_atomic.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_files_extended.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_final_push.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_fixtures.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_git_manager.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_git_manager_extended.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_global_config.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_hooks.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_hooks_new.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_integration.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_lock.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_log_checkout_tag.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_log_cmd_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_merge.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_more_integration.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_navigate_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_navigate_switch_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_operations.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_ops_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_performance_logic.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_profile_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_profile_cmd_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_profile_extra.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_restore_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_save_deploy_ops.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_secrets.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_section.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_shell_completions.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_show_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_switch_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_switch_enhancements.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_symlink_deploy.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_tag_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_template_cmd.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_template_cmd_v1.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_template_extra.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_ui.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_utils.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_vault.py +0 -0
- {dotman_git-1.2.0 → dotman_git-1.2.2}/tests/test_verify_cmd.py +0 -0
|
@@ -5,7 +5,40 @@ All notable changes to dot-man will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
-
## [
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [1.2.2] - 2026-06-10
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **Python 3.10 CI compatibility** — `dot_man/cli/__init__.py` no longer shadows module names with same-named function imports (`from .discover_cmd import discover_cmd` → `from . import discover_cmd`). On Python 3.10, `unittest.mock.patch` resolves dotted paths via attribute lookup, so the shadowing caused `AttributeError` when test patches tried to access module-level names like `ConfigDetector` on the Click command function instead of the module. (Affected `test_discover_cmd.py`, `test_encrypt_cmd.py`, `test_import_cmd.py`.)
|
|
15
|
+
|
|
16
|
+
## [1.2.1] - 2026-06-10
|
|
17
|
+
|
|
18
|
+
### Refactored
|
|
19
|
+
|
|
20
|
+
- **Deduplicate deploy logic** — extracted `_build_final_excludes`, `_deploy_repo_path`, `_restore_file_secrets_inplace` from duplicate code in `deploy_section` and `deploy_item` (save_deploy_ops.py)
|
|
21
|
+
- **Unify config loading** — extracted `load_config_file()` function in `global_config.py`, removing 30 lines of duplicate YAML/TOML loading from both `DotManConfig` and `GlobalConfig`
|
|
22
|
+
- **Clean up silent `except: pass`** — removed 4 redundant `pass` statements after `logging.debug()` in `common.py`, added `logging.debug()` to a bare `except` in `core.py`
|
|
23
|
+
- **Break up `_run_interactive_tutorial`** — 302-line function split into 8 discrete step functions (config_cmd.py)
|
|
24
|
+
- **Extract `SECTION_EXAMPLES`** — 260-line data dict moved from function body to module-level constant (config_cmd.py)
|
|
25
|
+
- **Break up `run_setup_wizard`** — 250-line wizard split into 5 helpers (init_cmd.py)
|
|
26
|
+
- **Break up `setup`** — 253-line remote setup split into 17 helpers; deep nesting reduced from 11 to 4 levels (remote_cmd.py)
|
|
27
|
+
- **Reduce deep nesting in `edit`** — from 11 to 4-5 levels (edit_cmd.py)
|
|
28
|
+
|
|
29
|
+
### Test Improvements
|
|
30
|
+
|
|
31
|
+
- Strengthened loose assertions (24 tests): added output content checks, mock-call assertions, or file-state assertions
|
|
32
|
+
- **`interactive.py`** — 47 tests, 47% → 100% coverage
|
|
33
|
+
- **`branch_cmd.py`** — 23 tests, 51% → 100% coverage
|
|
34
|
+
- **`deploy_cmd.py`** — 25 tests, 59% → 100% coverage
|
|
35
|
+
- Overall coverage: 66% → 83%
|
|
36
|
+
|
|
37
|
+
## [1.2.0] - 2026-05-17
|
|
38
|
+
|
|
39
|
+
### Added
|
|
40
|
+
- **Symlink deploy mode** — `deploy_method = "symlink"` per section
|
|
41
|
+
- **Quickshell hook aliases** — `quickshell_reload`, `quickshell_restart`, `quickshell_validate` with `{qs_config}` → `{config_name}` placeholder
|
|
9
42
|
|
|
10
43
|
### Fixed
|
|
11
44
|
- README outdated commands (switch → navigate)
|
|
@@ -4,6 +4,7 @@ This package provides the CLI entry point for dot-man.
|
|
|
4
4
|
It exposes the modular CLI implementation.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
+
from . import discover_cmd, encrypt_cmd, export_cmd, import_cmd
|
|
7
8
|
from .add_cmd import add
|
|
8
9
|
from .audit_cmd import audit
|
|
9
10
|
from .backup_cmd import backup
|
|
@@ -32,12 +33,8 @@ from .common import (
|
|
|
32
33
|
from .completions_cmd import completions
|
|
33
34
|
from .config_cmd import config
|
|
34
35
|
from .deploy_cmd import deploy
|
|
35
|
-
from .discover_cmd import discover_cmd
|
|
36
36
|
from .doctor_cmd import doctor
|
|
37
37
|
from .edit_cmd import edit
|
|
38
|
-
from .encrypt_cmd import encrypt_cmd
|
|
39
|
-
from .export_cmd import export_cmd
|
|
40
|
-
from .import_cmd import import_cmd
|
|
41
38
|
|
|
42
39
|
# Import commands for easier access and backward compatibility
|
|
43
40
|
from .init_cmd import init
|
|
@@ -230,7 +230,6 @@ def _get_completion_cache() -> dict:
|
|
|
230
230
|
return _memory_cache
|
|
231
231
|
except Exception:
|
|
232
232
|
logging.debug("Failed to load completion cache from file")
|
|
233
|
-
pass
|
|
234
233
|
|
|
235
234
|
_memory_cache = {}
|
|
236
235
|
_memory_cache_time = time.time()
|
|
@@ -250,7 +249,6 @@ def _save_completion_cache(data: dict) -> None:
|
|
|
250
249
|
_COMPLETION_CACHE_FILE.write_text(json.dumps(data))
|
|
251
250
|
except Exception:
|
|
252
251
|
logging.debug("Failed to save completion cache to file")
|
|
253
|
-
pass
|
|
254
252
|
|
|
255
253
|
|
|
256
254
|
def _clear_completion_cache() -> None:
|
|
@@ -266,7 +264,6 @@ def _clear_completion_cache() -> None:
|
|
|
266
264
|
logging.debug(
|
|
267
265
|
"Failed to unlink completion cache file in _clear_completion_cache"
|
|
268
266
|
)
|
|
269
|
-
pass
|
|
270
267
|
|
|
271
268
|
|
|
272
269
|
def _clear_all_caches() -> None:
|
|
@@ -285,7 +282,6 @@ def _clear_all_caches() -> None:
|
|
|
285
282
|
_COMPLETION_CACHE_FILE.unlink()
|
|
286
283
|
except Exception:
|
|
287
284
|
logging.debug("Failed to unlink completion cache file in _clear_all_caches")
|
|
288
|
-
pass
|
|
289
285
|
|
|
290
286
|
|
|
291
287
|
def parse_branch_arg(arg: str) -> dict:
|