You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							21 lines
						
					
					
						
							301 B
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							21 lines
						
					
					
						
							301 B
						
					
					
				| package filer | |
| 
 | |
| import ( | |
| 	"strings" | |
| ) | |
| 
 | |
| func (f *Filer) isBucket(entry *Entry) bool { | |
| 	if !entry.IsDirectory() { | |
| 		return false | |
| 	} | |
| 	parent, dirName := entry.FullPath.DirAndName() | |
| 	if parent != f.DirBucketsPath { | |
| 		return false | |
| 	} | |
| 	if strings.HasPrefix(dirName, ".") { | |
| 		return false | |
| 	} | |
| 
 | |
| 	return true | |
| 
 | |
| }
 |