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 setFile method, deprecate addOrReplaceFile #510

Merged
merged 1 commit into from
Feb 9, 2022
Merged

Conversation

TwitchBronBron
Copy link
Member

v1 renamed the Program.addOrReplaceFile method to setFile, we want to align with that target. While we can't rename it in v0 without breaking the api, we can add setFile. This change does not introduce any breaking changes.

  • adds setFile method
  • deprecates addOrReplaceFile and internally calls setFile
  • rename all internal calls of addOrReplaceFile to setFile

@TwitchBronBron TwitchBronBron merged commit dcdc6f0 into master Feb 9, 2022
@TwitchBronBron TwitchBronBron deleted the setFile branch February 9, 2022 20:27
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