diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-28 18:22:07 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-28 18:22:07 +0200 |
| commit | f63104b82da24ff3f406c53346300bd50788796f (patch) | |
| tree | 1bd4466385e4298a2e2936d188b01047a4a7a8a6 /packages/meshbay-node/src/meshbay_node/config.py | |
| parent | a4b36e5fe31cb671a4cbbdaad75746cd68b601fe (diff) | |
| download | meshbay-f63104b82da24ff3f406c53346300bd50788796f.tar.gz | |
refactor: remove dead code across packages
Unused modules, functions, constants and client helpers with no caller,
the unreachable hub:probe IPC handler, and the CSAM hash matching.
Behaviour unchanged; the dispatch golden loses only the two removed
message types.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/config.py')
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/config.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/config.py b/packages/meshbay-node/src/meshbay_node/config.py index 563e395..2cd8a8f 100644 --- a/packages/meshbay-node/src/meshbay_node/config.py +++ b/packages/meshbay-node/src/meshbay_node/config.py @@ -505,10 +505,3 @@ def load_config(path: Path = DEFAULT_CONFIG_PATH) -> Config: "MESHBAY_MAX_CONCURRENT_STREAMS") return cfg - - -def write_example_config(path: Path = DEFAULT_CONFIG_PATH) -> None: - """Write an example config file if none exists.""" - if not path.exists(): - path.parent.mkdir(parents=True, exist_ok=True) - path.write_text(EXAMPLE_CONFIG, encoding="utf-8", newline="\n") |