MCPcopy
hub / github.com/perkeep/perkeep / uploadString

Method uploadString

pkg/client/client.go:1446–1450  ·  view source on GitHub ↗
(ctx context.Context, s string, stat bool)

Source from the content-addressed store, hash-verified

1444}
1445
1446func (c *Client) uploadString(ctx context.Context, s string, stat bool) (*PutResult, error) {
1447 uh := NewUploadHandleFromString(s)
1448 uh.SkipStat = !stat
1449 return c.Upload(ctx, uh)
1450}
1451
1452func (c *Client) UploadNewPermanode(ctx context.Context) (*PutResult, error) {
1453 unsigned := schema.NewUnsignedPermanode()

Callers 4

UploadPublicKeyMethod · 0.95
UploadAndSignBlobMethod · 0.95
UploadBlobMethod · 0.95

Calls 2

UploadMethod · 0.95

Tested by

no test coverage detected