MCPcopy
hub / github.com/rclone/rclone / InternalTestMetadata

Method InternalTestMetadata

backend/b2/b2_internal_test.go:295–301  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

293}
294
295func (f *Fs) InternalTestMetadata(t *testing.T) {
296 // 1 kB regular file
297 f.internalTestMetadata(t, "1kiB", "", "")
298
299 // 10 MiB large file
300 f.internalTestMetadata(t, "10MiB", "6MiB", "6MiB")
301}
302
303func sha1Sum(t *testing.T, s string) string {
304 hash := sha1.Sum([]byte(s))

Callers

nothing calls this directly

Calls 1

internalTestMetadataMethod · 0.95

Tested by

no test coverage detected