()
| 797 | } |
| 798 | |
| 799 | func (d *dependency) FileClient() inventory.FileClient { |
| 800 | if d.fileClient != nil { |
| 801 | return d.fileClient |
| 802 | } |
| 803 | |
| 804 | return inventory.NewFileClient(d.DBClient(), d.ConfigProvider().Database().Type, d.HashIDEncoder()) |
| 805 | } |
| 806 | |
| 807 | func (d *dependency) ShareClient() inventory.ShareClient { |
| 808 | if d.shareClient != nil { |
nothing calls this directly
no test coverage detected