ForkHub
ForkHub copied to clipboard
Missing folders in some projects
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.
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