MCPcopy
hub / github.com/kopia/kopia / getFormatBlobCacheDuration

Method getFormatBlobCacheDuration

cli/command_repository_connect.go:84–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84func (c *connectOptions) getFormatBlobCacheDuration() time.Duration {
85 if c.disableFormatBlobCache {
86 return -1
87 }
88
89 return c.formatBlobCacheDuration
90}
91
92func (c *connectOptions) toRepoConnectOptions() *repo.ConnectOptions {
93 return &repo.ConnectOptions{

Callers 1

toRepoConnectOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected