mirror of
				https://github.com/astral-sh/uv.git
				synced 2025-10-31 03:55:33 +00:00 
			
		
		
		
	Rename metadata to built_wheel in source/mod.rs (#840)
				
					
				
			This commit is contained in:
		
							parent
							
								
									df254087d9
								
							
						
					
					
						commit
						cc9140643e
					
				
					 1 changed files with 6 additions and 6 deletions
				
			
		|  | @ -195,10 +195,10 @@ impl<'a, T: BuildContext> SourceDistCachedBuilder<'a, T> { | |||
|             })?; | ||||
| 
 | ||||
|         // If the cache contains a compatible wheel, return it.
 | ||||
|         if let Some(metadata) = | ||||
|         if let Some(built_wheel) = | ||||
|             BuiltWheelMetadata::find_in_cache(self.tags, &manifest, &cache_entry) | ||||
|         { | ||||
|             return Ok(metadata); | ||||
|             return Ok(built_wheel); | ||||
|         } | ||||
| 
 | ||||
|         // At this point, we're seeing cached metadata (as in, we have an up-to-date source
 | ||||
|  | @ -306,10 +306,10 @@ impl<'a, T: BuildContext> SourceDistCachedBuilder<'a, T> { | |||
|             .unwrap_or_default(); | ||||
| 
 | ||||
|         // If the cache contains a compatible wheel, return it.
 | ||||
|         if let Some(metadata) = | ||||
|         if let Some(built_wheel) = | ||||
|             BuiltWheelMetadata::find_in_cache(self.tags, &manifest, &cache_entry) | ||||
|         { | ||||
|             return Ok(metadata); | ||||
|             return Ok(built_wheel); | ||||
|         } | ||||
| 
 | ||||
|         // Otherwise, we need to build a wheel.
 | ||||
|  | @ -382,10 +382,10 @@ impl<'a, T: BuildContext> SourceDistCachedBuilder<'a, T> { | |||
|         let mut manifest = Self::read_metadata(&cache_entry).await?.unwrap_or_default(); | ||||
| 
 | ||||
|         // If the cache contains a compatible wheel, return it.
 | ||||
|         if let Some(metadata) = | ||||
|         if let Some(built_wheel) = | ||||
|             BuiltWheelMetadata::find_in_cache(self.tags, &manifest, &cache_entry) | ||||
|         { | ||||
|             return Ok(metadata); | ||||
|             return Ok(built_wheel); | ||||
|         } | ||||
| 
 | ||||
|         let task = self | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Charlie Marsh
						Charlie Marsh