MCPcopy
hub / github.com/rclone/rclone / Precision

Method Precision

backend/union/union.go:808–816  ·  view source on GitHub ↗

Precision is the greatest Precision of all upstreams

()

Source from the content-addressed store, hash-verified

806
807// Precision is the greatest Precision of all upstreams
808func (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
818func (f *Fs) action(ctx context.Context, path string) ([]*upstream.Fs, error) {
819 return f.actionPolicy.Action(ctx, f.upstreams, path)

Callers

nothing calls this directly

Calls 1

PrecisionMethod · 0.65

Tested by

no test coverage detected