use super::{
client::Client,
domain::Domain,
upath::UPath,
manifest::Manifest4,
};
#[derive(Clone, Debug)]
pub struct Namespace {
_domain: Domain,
path: UPath,
}
impl Namespace {
pub async fn new(_domain: Domain, path: UPath) -> Self {
Namespace {
_domain,
path,
}
}
#[allow(dead_code)]
pub fn get_client(&self) -> &Client {
self._domain.get_client()
}
pub fn to_string(&self) -> String {
format!("Namespace({})^{}", self.path.to_string(), self._domain.to_string())
}
pub async fn manifest_from_key(_manifest_tag: &str) -> Option<Manifest4> {
unimplemented!()
}
pub async fn manifest_keys(&self) -> Vec<String> {
unimplemented!()
}
pub async fn manifest_objects(&self) -> Vec<Manifest4> {
unimplemented!()
}
}