Skip to content

Conversation

sudo-bmitch
Copy link
Contributor

Fixes issue

Fixes #509.

Describe the change

Remove the internal rwfs package and WithFS calls that used it. This was used for test implementations that were better handled with t.TempDir or olareg backed by memory.

How to verify it

Internal code can be tested with make test. External code should not have access to internal methods.

Changelog text

  • Breaking: Removed WithFS which required access to an internal interface to use.

Please verify and check that the pull request fulfills the following requirements

  • Tests have been added or not applicable
  • Documentation has been added, updated, or not applicable
  • Changes have been rebased to main
  • Multiple commits to the same code have been squashed

This was used for test implementations that were better handled with t.TempDir or olareg backed by memory.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
@sudo-bmitch sudo-bmitch merged commit fbc8a2e into regclient:main Jun 27, 2024
@sudo-bmitch sudo-bmitch deleted the pr-remove-rwfs branch June 27, 2024 14:03
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.

[Question] How is regclient.WithFS used?
1 participant