mirror of
				https://github.com/pytorch/pytorch.git
				synced 2025-11-04 16:04:58 +08:00 
			
		
		
		
	Summary: Previously is_fbcode just checked whether the checkout was git or not. This is extremely error prone. Lets make it fool-proof. Test Plan: unit tests Reviewed By: masnesral Differential Revision: D63545169 Pull Request resolved: https://github.com/pytorch/pytorch/pull/136871 Approved by: https://github.com/masnesral
		
			
				
	
	
		
			3 lines
		
	
	
		
			42 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			42 B
		
	
	
	
		
			Python
		
	
	
	
	
	
def is_fbcode() -> bool:
 | 
						|
    return False
 |