diff --git a/server/texture-sync-server/src/persistency/mod.rs b/server/texture-sync-server/src/persistency/mod.rs index 7888077..cb985ed 100644 --- a/server/texture-sync-server/src/persistency/mod.rs +++ b/server/texture-sync-server/src/persistency/mod.rs @@ -7,27 +7,6 @@ use std::path::{Path, PathBuf}; mod image_convert; mod metadata_file; -/* -pub type TextureFileResult = Result, TextureFileError>; -pub enum TextureFileError { - NotFound, - IoError(io::Error), - ImageError(::image::ImageError), -} - -impl From for TextureFileError { - fn from(err: io::Error) -> Self { - TextureFileError::IoError(err) - } -} - -impl From<::image::ImageError> for TextureFileError { - fn from(err: ::image::ImageError) -> Self { - TextureFileError::ImageError(err) - } -} -*/ - pub struct DataStore { //data_path: PathBuf, base_dir: PathBuf,