Client icon indicating copy to clipboard operation
Client copied to clipboard

Src::show method not working as expected

Open sbmthd opened this issue 3 years ago • 0 comments

$client->repositories()->workspaces('workspace')->src('repo_slug')->show('commit_hash', 'path_to_dir')

Calling the above method where 'path_to_dir' points to a directory, I'd expect the response to contain a list of its sub directories and files as outlined in the api docs

However all I get is an object returned containing the metadata of the directory itself with no data of its contents.

I assume I'm doing something wrong here, are there any gotchas that I may have missed?

sbmthd avatar Aug 30 '22 20:08 sbmthd