making changes to common library, starting to integrate database functions
This commit is contained in:
		@@ -19,7 +19,7 @@ func (db *DB) ConfigureDB(dbPath string) error {
 | 
			
		||||
			db.ErrorF("Error finding file by path %s", err)
 | 
			
		||||
			return err
 | 
			
		||||
		}
 | 
			
		||||
		db.WarningF("No file found. initialising the database")
 | 
			
		||||
		db.WarningF("No existing databse found. initialising new database")
 | 
			
		||||
		file.Name = "-- All Files --"
 | 
			
		||||
		//file.Ignore = true //this is currently not used however could result in this file being ignored when file watching (etc) starts
 | 
			
		||||
		if err := db.Save(&file); err != nil {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user