-
Notifications
You must be signed in to change notification settings - Fork 171
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
Add delete_files() to SharedRealm. #4701
Conversation
c1e8b4d
to
0440c30
Compare
11346b0
to
7397771
Compare
7c3c784
to
1ebd738
Compare
f400a38
to
c20b26c
Compare
I have added some changes with c20b26c to avoid even more strings and use the new get_core_files. The PR is ready for review again now, @ironage @finnschiermer . 👍 |
6009d86
to
052a53f
Compare
…lm/realm-core into df/add-delete-realm-function
With the rework to use a map the |
f60d964
to
25ab16b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good, just some minor comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a minor thing, see comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thanks guys! |
@@ -1,7 +1,7 @@ | |||
# NEXT RELEASE | |||
|
|||
### Enhancements | |||
* None. | |||
* Added the functionality to delete files for a given SharedRealm, unlocking ([realm-dotnet#386](https://github.com/realm/realm-dotnet/issues/386)). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was missing a reference to this PR or an issue. It would also be good to mention what that function is called.
cc @ironage @finnschiermer @DominicFrei
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bmunkholm why is the linked issue in dotnet insufficient?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ironage That doesn't give a reference to the code change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The last comment in the GitHub issue links to this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm- ok then. I was admittedly not reading that issue as it only said "unlocking" :-). I still think it doesn't hurt to mention the PR number to core here and which function has been added. Think about it from the perspective of another SDK team reading what new functionality has been added.
What, How & Why?
This PR adds the functionality to delete the files belonging to a
SharedRealm
(except for the.lock
file) by offeringdelete_files()
.These files are:
cc @nirinchev
This unlocks realm/realm-dotnet#386.
This PR could also subsitute these SDK implementations:
☑️ ToDos
Open questions: