ktrysmt/go-bitbucket

Unable to get file content

giladhseek opened this issue · 0 comments

Bitbucket API enables getting a file content with the Get file or directory contents endpoint.
Right now, there's only the ListFiles function which uses this endpoint but doesn't handle the response correctly when it calls the endpoint with a file and not a directory.