MCPcopy
hub / github.com/kopia/kopia / valueOrNotSetOptionalInt64Bytes

Function valueOrNotSetOptionalInt64Bytes

cli/command_policy_show.go:503–509  ·  view source on GitHub ↗
(p *policy.OptionalInt64)

Source from the content-addressed store, hash-verified

501}
502
503func valueOrNotSetOptionalInt64Bytes(p *policy.OptionalInt64) string {
504 if p == nil {
505 return "-"
506 }
507
508 return units.BytesString(*p)
509}

Callers 1

appendUploadPolicyRowsFunction · 0.85

Calls 1

BytesStringFunction · 0.92

Tested by

no test coverage detected