mirror of
				https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
				synced 2025-10-30 17:45:30 +00:00 
			
		
		
		
	Added reset of Reverse Reference Rersolver on reparse
This commit is contained in:
		
							
								
								
									
										15
									
								
								providers/xmlprovider/library.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								providers/xmlprovider/library.go
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| package xmlprovider | ||||
|  | ||||
| import "sync" | ||||
|  | ||||
| type Library struct { | ||||
| 	pmux   sync.Mutex | ||||
| 	Parses []ParseMeta | ||||
| } | ||||
|  | ||||
| func (l *Library) Latest() ParseMeta { | ||||
| 	if len(l.Parses) == 0 { | ||||
| 		return ParseMeta{} | ||||
| 	} | ||||
| 	return l.Parses[len(l.Parses)-1] | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Simon Martens
					Simon Martens