Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

Conversation

@danports
Copy link
Contributor

Based on #27; can rebase if/when that is merged.

This uses the recursive parameter on the GitHub trees API to eliminate all subtree API requests - a clone operation now requires just one trees API request and raw.github.com requests for each of the blobs.

Theoretically, the response to a recursive trees API request could be too large and get truncated; the code handles that case, but practically speaking, that code path will likely never be used, since even https://github.com/kubernetes/kubernetes/tree/master can be fetched in a single recursive trees API request - any repository used for ComputerCraft is likely to be much smaller than that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant