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

Add ability to replace buffer content #24

Merged
merged 4 commits into from
Feb 13, 2024
Merged

Add ability to replace buffer content #24

merged 4 commits into from
Feb 13, 2024

Conversation

jmacdonald
Copy link
Owner

In preparation for format tool support in Amp, we need to be able to replace buffer contents in-place. This PR builds out that functionality in a new replace_content method on the buffer type, and then updates the reload method to leverage that.

@jmacdonald jmacdonald self-assigned this Feb 13, 2024
@jmacdonald jmacdonald force-pushed the replace-content branch 2 times, most recently from 8d35fda to ef63a9b Compare February 13, 2024 04:27
@jmacdonald jmacdonald force-pushed the replace-content branch 6 times, most recently from fa0f41b to 3985cdc Compare February 13, 2024 14:00
@jmacdonald jmacdonald merged commit 1e3788c into main Feb 13, 2024
2 checks passed
@jmacdonald jmacdonald deleted the replace-content branch February 13, 2024 14:04
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.

1 participant