MCPcopy
hub / github.com/kopia/kopia / definitionPointToString

Function definitionPointToString

cli/command_policy_show.go:106–112  ·  view source on GitHub ↗
(target, src snapshot.SourceInfo)

Source from the content-addressed store, hash-verified

104}
105
106func definitionPointToString(target, src snapshot.SourceInfo) string {
107 if src == target {
108 return "(defined for this target)"
109 }
110
111 return "inherited from " + src.String()
112}
113
114func printPolicy(out *textOutput, p *policy.Policy, def *policy.Definition) {
115 var rows []policyTableRow

Calls 1

StringMethod · 0.45

Tested by

no test coverage detected