async fn hash_to_task(
path: String,
watch_path: String,
album_id: Option<String>,
album_name: Option<String>,
reassociate_only: bool,
checksum: Option<String>,
sidecar_enabled: bool,
) -> Result<FileTask, ()>Expand description
Hash a candidate file and submit it to the upload queue.