public async Task <IActionResult> GetLibrary(string package, string version) { if (!Directory.Exists(_zipOptions.Value.LibraryPath)) { return(NotFound()); } var zipPath = Path.Combine(_zipOptions.Value.LibraryPath, $"{package}.{version}.zip"); if (!System.IO.File.Exists(zipPath)) { return(NotFound()); } return(Ok(PackageInfo.FromZip(zipPath))); }