MCPcopy
hub / github.com/rclone/rclone / WriteObject

Method WriteObject

fstest/run.go:296–298  ·  view source on GitHub ↗

WriteObject writes an object to the remote

(ctx context.Context, remote, content string, modTime time.Time)

Source from the content-addressed store, hash-verified

294
295// WriteObject writes an object to the remote
296func (r *Run) WriteObject(ctx context.Context, remote, content string, modTime time.Time) Item {
297 return r.WriteObjectTo(ctx, r.Fremote, remote, content, modTime, false)
298}
299
300// WriteUncheckedObject writes an object to the remote not checking for duplicates
301func (r *Run) WriteUncheckedObject(ctx context.Context, remote, content string, modTime time.Time) Item {

Callers 15

TestCaseSensitivityFunction · 0.95
TestUnicodeNormalizationFunction · 0.95
TestUnicodeEquivalenceFunction · 0.95
TestTouchUpdateTimestampFunction · 0.95
TestTouchDirWithFilesFunction · 0.95
testArchiveRemoteFunction · 0.95
WriteBothMethod · 0.95
TestMarchFunction · 0.95
TestServerSideCopyFunction · 0.95

Calls 1

WriteObjectToMethod · 0.95

Tested by 15

TestCaseSensitivityFunction · 0.76
TestUnicodeNormalizationFunction · 0.76
TestUnicodeEquivalenceFunction · 0.76
TestTouchUpdateTimestampFunction · 0.76
TestTouchDirWithFilesFunction · 0.76
testArchiveRemoteFunction · 0.76
TestMarchFunction · 0.76
TestServerSideCopyFunction · 0.76
TestCopyOverSelfFunction · 0.76