MCPcopy
hub / github.com/rclone/rclone / CheckRemoteItems

Method CheckRemoteItems

fstest/run.go:344–346  ·  view source on GitHub ↗

CheckRemoteItems checks the remote fs with proper precision to see if it has the expected items.

(t *testing.T, items ...Item)

Source from the content-addressed store, hash-verified

342// CheckRemoteItems checks the remote fs with proper precision
343// to see if it has the expected items.
344func (r *Run) CheckRemoteItems(t *testing.T, items ...Item) {
345 CheckItemsWithPrecision(t, r.Fremote, r.Precision, items...)
346}
347
348// CheckLocalListing checks the local fs with proper precision
349// to see if it has the expected contents.

Callers 15

TestSymlinkFunction · 0.95
TestCaseSensitivityFunction · 0.95
TestUnicodeNormalizationFunction · 0.95
TestTouchUpdateTimestampFunction · 0.95
TestTransformFunction · 0.95
TestTransformCopyFunction · 0.95
TestDoubleTransformFunction · 0.95
TestFileTagFunction · 0.95
TestNoTagFunction · 0.95
TestRunTwiceFunction · 0.95
TestConflictingFunction · 0.95

Calls 1

CheckItemsWithPrecisionFunction · 0.85

Tested by 15

TestSymlinkFunction · 0.76
TestCaseSensitivityFunction · 0.76
TestUnicodeNormalizationFunction · 0.76
TestTouchUpdateTimestampFunction · 0.76
TestTransformFunction · 0.76
TestTransformCopyFunction · 0.76
TestDoubleTransformFunction · 0.76
TestFileTagFunction · 0.76
TestNoTagFunction · 0.76
TestRunTwiceFunction · 0.76
TestConflictingFunction · 0.76