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

Is it possible to determine if a file is binary? #1105

Open
DeepJoyPo opened this issue Mar 21, 2024 · 2 comments
Open

Is it possible to determine if a file is binary? #1105

DeepJoyPo opened this issue Mar 21, 2024 · 2 comments

Comments

@DeepJoyPo
Copy link

It seems that GitLab itself will response if a file is binary information:

屏幕截图 2024-03-21 144430

@jmini
Copy link
Collaborator

jmini commented Mar 26, 2024

Good finding, often the models in this project are a little behind the official API.

A PR to add the missing field is welcome.
--> You need to add it to the Java object and to the example json file used in the test case.

@Turiok
Copy link

Turiok commented Aug 2, 2024

Hi @DeepJoyPo With which API you have this information?

I checked with this one : https://docs.gitlab.com/ee/api/repository_files.html#get-file-metadata-only
Don't found these fields

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

No branches or pull requests

3 participants