mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 14:42:26 -05:00 
			
		
		
		
	[chore] bumps our spf13/viper version (#3943)
* bumps our spf13/viper version * fixes the one breaking change
This commit is contained in:
		
					parent
					
						
							
								1bf40e755c
							
						
					
				
			
			
				commit
				
					
						f46e490c30
					
				
			
		
					 147 changed files with 4637 additions and 18493 deletions
				
			
		
							
								
								
									
										6
									
								
								vendor/github.com/sagikazarmark/locafero/finder.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								vendor/github.com/sagikazarmark/locafero/finder.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -27,7 +27,7 @@ type Finder struct { | |||
| 	// It provides the capability to search for entries with depth, | ||||
| 	// meaning it can target deeper locations within the directory structure. | ||||
| 	// | ||||
| 	// It also supports glob syntax (as defined by [filepat.Match]), offering greater flexibility in search patterns. | ||||
| 	// It also supports glob syntax (as defined by [filepath.Match]), offering greater flexibility in search patterns. | ||||
| 	// | ||||
| 	// Examples: | ||||
| 	//   - config.yaml | ||||
|  | @ -63,7 +63,7 @@ func (f Finder) Find(fsys afero.Fs) ([]string, error) { | |||
| 
 | ||||
| 			// pool.Go(func() ([]string, error) { | ||||
| 			// 	// If the name contains any glob character, perform a glob match | ||||
| 			// 	if strings.ContainsAny(searchName, "*?[]\\^") { | ||||
| 			// 	if strings.ContainsAny(searchName, globMatch) { | ||||
| 			// 		return globWalkSearch(fsys, searchPath, searchName, f.Type) | ||||
| 			// 	} | ||||
| 			// | ||||
|  | @ -79,7 +79,7 @@ func (f Finder) Find(fsys afero.Fs) ([]string, error) { | |||
| 
 | ||||
| 	allResults, err := iter.MapErr(searchItems, func(item *searchItem) ([]string, error) { | ||||
| 		// If the name contains any glob character, perform a glob match | ||||
| 		if strings.ContainsAny(item.name, "*?[]\\^") { | ||||
| 		if strings.ContainsAny(item.name, globMatch) { | ||||
| 			return globWalkSearch(fsys, item.path, item.name, f.Type) | ||||
| 		} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue