MCPcopy
hub / github.com/perkeep/perkeep / ClaimType

Method ClaimType

pkg/schema/blob.go:498–503  ·  view source on GitHub ↗

ClaimType returns the claimType value, or the empty string.

()

Source from the content-addressed store, hash-verified

496
497// ClaimType returns the claimType value, or the empty string.
498func (bb *Builder) ClaimType() ClaimType {
499 if s, ok := bb.m["claimType"].(string); ok {
500 return ClaimType(s)
501 }
502 return ""
503}
504
505// SetFileName sets the fileName or fileNameBytes field.
506// The filename is truncated to just the base.

Callers 4

SetShareTargetMethod · 0.95
SetShareSearchMethod · 0.95
SetShareExpirationMethod · 0.95
SetShareIsTransitiveMethod · 0.95

Calls 1

ClaimTypeTypeAlias · 0.85

Tested by

no test coverage detected