Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add make_dump() to ConfigBase and Keys classes #56

Merged
merged 2 commits into from Sep 18, 2023

Conversation

Bilb
Copy link
Contributor

@Bilb Bilb commented Sep 18, 2023

No description provided.

@jagerman
Copy link
Member

Rename it to make_dump instead of debug_dump as it gets used internally for dump() itself. Also made it const.

@jagerman jagerman changed the title feat: add debug_dump() to ConfigBase and Keys classes feat: add make_dump() to ConfigBase and Keys classes Sep 18, 2023
- rename `debug_dump` to `make_dump`, since it is also used internally
  (for non-debugging).
- make it `const` to ensure we aren't mutating state.  (And we were,
  with clearing old hashes: that is now done only by `dump()` but not
  `make_dump()`).
- Update API documentation wording
@jagerman jagerman merged commit f36a8df into oxen-io:dev Sep 18, 2023
1 check 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.

None yet

2 participants