Added Lookup functions to template to do reverse lookups on works, issues and pieces

This commit is contained in:
Simon Martens
2025-01-08 03:04:12 +01:00
parent 6cfed94ff6
commit 2fa66f90e5
7 changed files with 35 additions and 51 deletions

View File

@@ -109,7 +109,8 @@ func (p *GNDProvider) WriteCache(folder string) error {
return nil
}
// TODO: Dont write persons already written
// INFO: this writes all persons to the cache folder
// We do that on every fetch, it's easier that way
func (p *GNDProvider) writePersons(folder string) error {
info, err := os.Stat(folder)
if err == os.ErrNotExist {