mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 02:32:25 -05:00 
			
		
		
		
	[chore]: Bump github.com/spf13/viper from 1.14.0 to 1.15.0 (#1375)
Bumps [github.com/spf13/viper](https://github.com/spf13/viper) from 1.14.0 to 1.15.0. - [Release notes](https://github.com/spf13/viper/releases) - [Commits](https://github.com/spf13/viper/compare/v1.14.0...v1.15.0) --- updated-dependencies: - dependency-name: github.com/spf13/viper dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								3e4dc6bff3
							
						
					
				
			
			
				commit
				
					
						98a09b5633
					
				
			
		
					 53 changed files with 218 additions and 6032 deletions
				
			
		
							
								
								
									
										5
									
								
								vendor/github.com/spf13/afero/memmap.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								vendor/github.com/spf13/afero/memmap.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -142,6 +142,11 @@ func (m *MemMapFs) Mkdir(name string, perm os.FileMode) error { | |||
| 	} | ||||
| 
 | ||||
| 	m.mu.Lock() | ||||
| 	// Dobule check that it doesn't exist. | ||||
| 	if _, ok := m.getData()[name]; ok { | ||||
| 		m.mu.Unlock() | ||||
| 		return &os.PathError{Op: "mkdir", Path: name, Err: ErrFileExists} | ||||
| 	} | ||||
| 	item := mem.CreateDir(name) | ||||
| 	mem.SetMode(item, os.ModeDir|perm) | ||||
| 	m.getData()[name] = item | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue