gh-download 0.2.0

Download a file or directory from a GitHub repository path.
Documentation
1
2
3
4
5
6
7
8
9
10
use serde::Deserialize;

#[derive(Debug, Deserialize, Clone)]
pub(super) struct ContentItem {
    pub(super) name: Option<String>,
    pub(super) path: Option<String>,
    #[serde(rename = "type")]
    pub(super) kind: Option<String>,
    pub(super) download_url: Option<String>,
}