Case insensitive match for org file extension.
This commit is contained in:
		
							parent
							
								
									c5621212bc
								
							
						
					
					
						commit
						8ab69e480e
					
				| @ -76,7 +76,7 @@ async fn filter_to_highest_folders_containing_org_files( | ||||
|             continue; | ||||
|         } | ||||
|         match entry.path().extension().and_then(OsStr::to_str) { | ||||
|             Some("org") => { | ||||
|             Some(ext) if ext.eq_ignore_ascii_case("org") => { | ||||
|                 return Ok(WalkAction::HaltAndCapture); | ||||
|             } | ||||
|             _ => {} | ||||
|  | ||||
| @ -46,6 +46,7 @@ pub(crate) enum WalkAction { | ||||
|     Halt, | ||||
| 
 | ||||
|     /// Walk down this path and add it to the return list.
 | ||||
|     #[allow(dead_code)] | ||||
|     RecurseAndCapture, | ||||
| 
 | ||||
|     /// Walk down this path but do not add it to the return list.
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Tom Alexander
						Tom Alexander