ForkHub icon indicating copy to clipboard operation
ForkHub copied to clipboard

Missing folders in some projects

Open KarelPeeters opened this issue 6 years ago • 1 comments

When I go to some projects with the app a couple folders aren't shown while they're definitely there, github in the browser does show them.

For example, Kotlin's /libraries folder doesn't show up.

KarelPeeters avatar Aug 13 '17 23:08 KarelPeeters

I tried debugging this issue and found that the issue is when the content for a repo is too large, it doesn't return all files.

If truncated is true, the number of items in the tree array exceeded our maximum limit. If you need to fetch more items, use the non-recursive method of fetching trees, and fetch one sub-tree at a time.

~source https://developer.github.com/v3/git/trees/#get-a-tree-recursively

When we run this URL https://api.github.com/repos/JetBrains/kotlin/git/trees/a98cc84dee91ac5b2dccb5d0c4a006df786c1df2?recursive=1 it returns truncated as true

saran2020 avatar Aug 21 '17 21:08 saran2020