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

Added a GetFileContent function #201

Merged
merged 1 commit into from
May 25, 2022

Conversation

giladhseek
Copy link
Contributor

@giladhseek giladhseek commented May 24, 2022

Closes #203
Now the repository module only exports the ListFiles function and the contents endpoint supports getting a file content and not only listing files.
The GetFileContent function queries the same endpoint but handles the response differently.

… same as ListFiles function), but it handles the response differently because the returned response is the file content when the requested path is a file and not a directory.
Copy link
Owner

@ktrysmt ktrysmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good.

@ktrysmt ktrysmt merged commit 437eefc into ktrysmt:master May 25, 2022
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.

Unable to get file content
2 participants