jcabi-github icon indicating copy to clipboard operation
jcabi-github copied to clipboard

Fetching content from specific commit

Open andreoss opened this issue 4 years ago • 0 comments

                new RtGithub()
                    .repos()
                    .get(new Coordinates.Simple("jcabi/jcabi-github"))
                    .commits()
                    .get("05dd4e1580eb22116c02e5322eaab0700b1e8af1")
                    .repo()
                    .contents()
                    .get("README.md")

This example fetches content from master, but it should from the selected commit

andreoss avatar Jan 11 '22 12:01 andreoss