MCPcopy
hub / github.com/perkeep/perkeep / String

Method String

pkg/blobserver/s3/s3.go:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85func (sto *s3Storage) String() string {
86 if sto.dirPrefix != "" {
87 return fmt.Sprintf("\"S3\" blob storage at host %q, bucket %q, directory %q", sto.hostname, sto.bucket, sto.dirPrefix)
88 }
89 return fmt.Sprintf("\"S3\" blob storage at host %q, bucket %q", sto.hostname, sto.bucket)
90}
91
92func newFromConfig(l blobserver.Loader, config jsonconfig.Obj) (blobserver.Storage, error) {
93 return newFromConfigWithTransport(l, config, nil)

Callers 15

TestMergedEnumerateFunction · 0.45
EnumerateAllFromFunction · 0.45
runMethod · 0.45
FetchMethod · 0.45
ReceiveBlobMethod · 0.45
RemoveBlobsMethod · 0.45
StatBlobsMethod · 0.45
TestEnumerateFunction · 0.45
LessMethod · 0.45
TestOptFunction · 0.45
ReceiveBlobMethod · 0.45

Calls

no outgoing calls

Tested by 10

TestMergedEnumerateFunction · 0.36
runMethod · 0.36
TestEnumerateFunction · 0.36
LessMethod · 0.36
TestOptFunction · 0.36
TestServeBlobRef_RangeFunction · 0.36
testServeBlobContentsFunction · 0.36
testStorageFunction · 0.36
TestEnumerateInputFunction · 0.36
TestNewFromConfigFunction · 0.36