jcabi-github
jcabi-github copied to clipboard
Anyway to detect whether Content is folder or file
Seems I can use Content#json to detect whether it is folder because Content#json will throw exception when it is a folder. But it doesn't seems a good api for that, does anyone know is there any more intuitive api for that? Thanks
@zjffdu if this checking is available through GitHub API, we can have it here too. Otherwise, sorry...