use std::path::Path; use serde::Deserialize; pub fn ssh_user() -> &'static str { return "git"; } pub fn binary_path() -> &'static str { return "/opt/fagit/fagit"; } pub fn repo_store() -> &'static Path { return Path::new("/opt/fagit/store/"); } #[derive(Deserialize, Default)] pub struct RepoConfig { pub access: Vec, } #[derive(Deserialize)] pub struct KeyPermission { key: String, }