Skip to content

Refactor stats logic to use a common function.#749

Merged
tanabi merged 1 commit intofuzzball-muck:masterfrom
wyld-sw:refactor-dbstats
May 20, 2025
Merged

Refactor stats logic to use a common function.#749
tanabi merged 1 commit intofuzzball-muck:masterfrom
wyld-sw:refactor-dbstats

Conversation

@wyld-sw
Copy link
Member

@wyld-sw wyld-sw commented May 19, 2025

This PR collects the main logic from STATS, STATS_ARRAY, and @stats into a common function collect_dbstats.

The builtin version of @stats gave information on old, propchanged, and proploaded objects (an unlisted feature) - but even starterdb overrides this command.

If there's a need to keep those, I can exempt @stats from this refactor. I could see a future @debug diskbase subcommand though (and @find =@=count seems to work for the other)

@tanabi tanabi merged commit 9dd4582 into fuzzball-muck:master May 20, 2025
1 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants