-
Notifications
You must be signed in to change notification settings - Fork 28
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 API for adding file contents directly to a package, without needing to create files #207
Labels
good first issue
Good for newcomers
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently we have API like this, for adding files:
and API like this, for adding scriptlets
the former assumes that you already have a file that exists, unlike the latter which takes the contents directly. This is a bit awkward.
We should probably consolidate this a bit, such that a user can easily create their package using either paths to existing files, OR directly providing the contents of the files.
The text was updated successfully, but these errors were encountered: