Merge Confilct Resolution
This commit is contained in:
		
						commit
						228d772219
					
				
							
								
								
									
										9
									
								
								ini.go
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								ini.go
									
									
									
									
									
								
							@ -204,6 +204,15 @@ func (config *Configuration) GetAsBooleans(path string) []bool {
 | 
			
		||||
	return key.Bools(",")
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (config *Configuration) IsSet(path string) bool {
 | 
			
		||||
	key, err := config.GetKey(path)
 | 
			
		||||
	if err != nil {
 | 
			
		||||
		return false
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return key.Value() != ""
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (config *Configuration) createAndLoad(defaultConfig string) {
 | 
			
		||||
	_, err := os.Stat(config.fileLocation)
 | 
			
		||||
	if errors.Is(err, os.ErrNotExist) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user