chore: Refactor code to use SourceUpdater struct for managing sources
This commit is contained in:
parent
fa1fdcfc63
commit
99cdd5471e
12 changed files with 328 additions and 263 deletions
src/host/store
|
@ -55,3 +55,7 @@ func (r *FilesMappings) FileMappings(ctx context.Context, ih infohash.T) (map[st
|
|||
})
|
||||
return out, err
|
||||
}
|
||||
|
||||
func (r *FilesMappings) Close(ctx context.Context) error {
|
||||
return r.mappings.Close(ctx)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue