Skip to content

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