diff --git a/mediarepo-api/Cargo.toml b/mediarepo-api/Cargo.toml index 89ac073..38db871 100644 --- a/mediarepo-api/Cargo.toml +++ b/mediarepo-api/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mediarepo-api" -version = "0.5.2" +version = "0.5.3" edition = "2018" license = "gpl-3" diff --git a/mediarepo-api/src/tauri_plugin/commands/file.rs b/mediarepo-api/src/tauri_plugin/commands/file.rs index 8ea6827..ffb1cc8 100644 --- a/mediarepo-api/src/tauri_plugin/commands/file.rs +++ b/mediarepo-api/src/tauri_plugin/commands/file.rs @@ -130,6 +130,7 @@ pub async fn resolve_paths_to_files(paths: Vec) -> PluginResult PluginResult> { let mut files = Vec::new(); @@ -152,6 +153,7 @@ async fn resolve_path_to_files(path: PathBuf) -> PluginResult PluginResult> { let mut entries = vec![entry]; @@ -171,6 +173,7 @@ async fn resolve_subdir(entry: DirEntry) -> PluginResult> { /// Retrieves information about a path that MUST be a file and returns /// metadata for it +#[tracing::instrument(level = "trace")] async fn retrieve_file_information(path: PathBuf) -> PluginResult { let mime = mime_guess::from_path(&path) .first()