mirror of
				https://github.com/smyalygames/FiniteVolumeGPU.git
				synced 2025-10-31 20:17:41 +01:00 
			
		
		
		
	feat(common): add a function to get root directory
This commit is contained in:
		
							parent
							
								
									1375743e21
								
							
						
					
					
						commit
						f4fff25539
					
				
							
								
								
									
										8
									
								
								GPUSimulators/common/utils.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								GPUSimulators/common/utils.py
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| from pathlib import Path | ||||
| 
 | ||||
| 
 | ||||
| def get_project_root() -> Path: | ||||
|     """ | ||||
|     Gets the root directory of the project. | ||||
|     """ | ||||
|     return Path(__file__).parent.parent.parent | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Anthony Berg
						Anthony Berg