Add debug log for not descending
This commit is contained in:
		
							parent
							
								
									098895d913
								
							
						
					
					
						commit
						080875bfce
					
				| @ -24,7 +24,7 @@ use std::path::{Path, PathBuf}; | ||||
| 
 | ||||
| use anyhow::anyhow; | ||||
| use indicatif::{ProgressBar, ProgressDrawTarget, ProgressStyle}; | ||||
| use log::{info, warn}; | ||||
| use log::{debug, info, warn}; | ||||
| use serde::{Deserialize, Serialize}; | ||||
| 
 | ||||
| pub use yama::definitions::FilesystemOwnership; | ||||
| @ -241,6 +241,7 @@ pub fn scan_with_progress_bar( | ||||
| ) -> anyhow::Result<Option<FileTree<(), (), (), ()>>> { | ||||
|     if exclusions.contains(path) { | ||||
|         // Don't enter excluded paths.
 | ||||
|         debug!("Not descending into excluded path: {:?}", path); | ||||
|         return Ok(None); | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user