diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-09-25 01:30:47 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-09-25 01:30:47 +0200 |
| commit | 762233772162a05be67432aa551a430b939250de (patch) | |
| tree | 311a2f72fef30fec6017313c55ed5beefcf0237e /packages/meshbay-node/src/meshbay_node/daemon.py | |
| parent | 320620a18399eb43c4d9056e9fe4c3ffac8fcfd4 (diff) | |
| download | meshbay-762233772162a05be67432aa551a430b939250de.tar.gz | |
refactor(node): split ops.py into the ops package
Each section of ops.py becomes a module of meshbay_node/ops/ (core,
node_toml, members, chat, groups, roots, files, settings, apps), cut as
text; ops/__init__.py keeps the docstring and re-exports every name, so
`ops.<name>` is unchanged for every caller. Logger name unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/daemon.py')
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/daemon.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/daemon.py b/packages/meshbay-node/src/meshbay_node/daemon.py index 6d808ae..4800dac 100644 --- a/packages/meshbay-node/src/meshbay_node/daemon.py +++ b/packages/meshbay-node/src/meshbay_node/daemon.py @@ -292,7 +292,7 @@ class NodeDaemon(EnrichmentMixin): # Read once at load, like enabled_apps below — # kept current in place afterwards by set_scan_settings - # (ops.py), which updates both this indexer object directly + # (ops/settings.py), which updates both this indexer object directly # and roster.db, so a restart picks up the same values. scan_settings = ( await self._roster.scan_settings(group_cfg.id) @@ -339,7 +339,7 @@ class NodeDaemon(EnrichmentMixin): # the record and stamps the entry when it creates it. "record_upload": indexer.record_upload, # Shown to the operator in Settings, and kept current in - # place by set_scan_settings (ops.py) — same reasoning as + # place by set_scan_settings (ops/settings.py) — same reasoning as # enabled_apps below. "reconcile_interval_secs": scan_settings["reconcile_interval_secs"], "debounce_secs": scan_settings["debounce_secs"], @@ -1207,7 +1207,7 @@ class NodeDaemon(EnrichmentMixin): # Every application that keeps directories. This is the one list, and it # lives here because the daemon is what wires a group's context: `roster.py`, - # `ops.py` and the rest must name no application at all — that is the + # `ops/` and the rest must name no application at all — that is the # property the reference app exists to demonstrate # (`test_helloworld_proves_the_plugin_claim.py`). # |