MCPcopy Index your code
hub / github.com/perkeep/perkeep / NewAddAttributeClaim

Function NewAddAttributeClaim

pkg/schema/schema.go:874–881  ·  view source on GitHub ↗
(permaNode blob.Ref, attr, value string)

Source from the content-addressed store, hash-verified

872}
873
874func NewAddAttributeClaim(permaNode blob.Ref, attr, value string) *Builder {
875 return newClaim(&claimParam{
876 permanode: permaNode,
877 claimType: AddAttributeClaim,
878 attribute: attr,
879 value: value,
880 })
881}
882
883// NewDelAttributeClaim creates a new claim to remove value from the
884// values set for the attribute attr of permaNode. If value is empty then

Callers 11

SetAttrValuesMethod · 0.92
addPermanodeMethod · 0.92
handlerDescribeTestSetupFunction · 0.92
AddAttributeMethod · 0.92
RunCommandMethod · 0.92
uploadFilePermanodeMethod · 0.92
RunCommandMethod · 0.92
RunCommandMethod · 0.92
addAttributeMethod · 0.92
TestAttributeFunction · 0.85

Calls 1

newClaimFunction · 0.85

Tested by 4

addPermanodeMethod · 0.74
handlerDescribeTestSetupFunction · 0.74
TestAttributeFunction · 0.68