MCPcopy
hub / github.com/rclone/rclone / Hash

Method Hash

fs/types.go:109–109  ·  view source on GitHub ↗

Hash returns the selected checksum of the file If no checksum is available it returns ""

(ctx context.Context, ty hash.Type)

Source from the content-addressed store, hash-verified

107 // Hash returns the selected checksum of the file
108 // If no checksum is available it returns ""
109 Hash(ctx context.Context, ty hash.Type) (string, error)
110
111 // Storable says whether this object can be stored
112 Storable() bool

Callers 15

HashMethod · 0.65
HashMethod · 0.65
TestIntegrationFunction · 0.65
UpdateMethod · 0.65
makeTempFileFunction · 0.65
UpdateMethod · 0.65
newLargeUploadMethod · 0.65
UpdateMethod · 0.65
internalTestMetadataMethod · 0.65
putMethod · 0.65
ComputeHashMethod · 0.65
testObjectInfoFunction · 0.65

Implementers 15

Objectbackend/cache/object.go
Objectbackend/mega/mega.go
Objectbackend/yandex/yandex.go
Objectbackend/qingstor/qingstor.go
Objectbackend/ulozto/ulozto.go
RenamingObjectInfoProxybackend/ulozto/ulozto.go
Objectbackend/hdfs/object.go
Objectbackend/googlephotos/googlephotos.go
Objectbackend/mailru/mailru.go
Objectbackend/zoho/zoho.go
Objectbackend/filelu/filelu_object.go
Objectbackend/http/http.go

Calls

no outgoing calls

Tested by 8

TestIntegrationFunction · 0.52
internalTestMetadataMethod · 0.52
testObjectInfoFunction · 0.52
testComputeHashFunction · 0.52
InternalTestMetadataMethod · 0.52
testGzipEncodingMethod · 0.52
InternalTestShortcutsMethod · 0.52
predictDstFromLoggerFunction · 0.52