use std::fmt;
use std::path::PathBuf;
use object_store::path::Path;
use std::io;
use multihash::Hash;
use multihash::ContentHash;
union UPath {
file: PathBuf,
object: Path,
}
impl UPath {
pub async fn read_bytes(&self) -> io::Result<bytes> { unimplemented!() }
pub async fn write_bytes(&self, input: bytes) -> io::Result<bytes> { unimplemented!() }
pub async fn parent(&self) -> Option<UPath> {
unimplemented!()
}
pub async fn hash(&self, algorithm: ContentHash) -> Hash {
unimplemented!()
}
pub async fn is_folder(&self) -> bool {
unimplemented!()
}
}