You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
As just mentioned in the other thread, I try to follow the GitLab API and examples as close as possible. If you look at https://docs.gitlab.com/ce/api/projects.html#upload-a-file you can see the example there matches this use case exactly.
Yet I can see that for some use cases it would be nice (and potentially easier) to be able to pass a reader instead, so I'm open to change this one to make it more usable.
I find
UploadFile
function signature strange:I think it would be better to have:
In this way you can upload generated file without having to store it to a file first.
This would be a breaking change but I think it would be worth it.
The text was updated successfully, but these errors were encountered: