Precision is the greatest Precision of all upstreams
()
| 806 | |
| 807 | // Precision is the greatest Precision of all upstreams |
| 808 | func (f *Fs) Precision() time.Duration { |
| 809 | var greatestPrecision time.Duration |
| 810 | for _, u := range f.upstreams { |
| 811 | if u.Precision() > greatestPrecision { |
| 812 | greatestPrecision = u.Precision() |
| 813 | } |
| 814 | } |
| 815 | return greatestPrecision |
| 816 | } |
| 817 | |
| 818 | func (f *Fs) action(ctx context.Context, path string) ([]*upstream.Fs, error) { |
| 819 | return f.actionPolicy.Action(ctx, f.upstreams, path) |