gitlib/dto/
repo_content_response.rs

1
2
3
4
5
6
7
8
9
10
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug, Clone)]
#[serde(rename_all = "camelCase")]
pub struct RepoContentResponse {
    pub repo: String,
    pub branch: Option<String>,
    pub commit: Option<String>,
    //Todo: possible use common::file_utils::storage_model::StorageModel instead of this one
}