MCPcopy
hub / github.com/perkeep/perkeep / SetType

Method SetType

pkg/schema/blob.go:484–487  ·  view source on GitHub ↗

SetType sets the camliType field.

(t CamliType)

Source from the content-addressed store, hash-verified

482
483// SetType sets the camliType field.
484func (bb *Builder) SetType(t CamliType) *Builder {
485 bb.m["camliType"] = string(t)
486 return bb
487}
488
489// Type returns the camliType value.
490func (bb *Builder) Type() CamliType {

Callers 9

SetSymlinkTargetMethod · 0.95
uploadNodeRegularFileMethod · 0.95
UploadFileMethod · 0.80
NewFileMapFunction · 0.80
NewDirMapFunction · 0.80
TestStaticFIFOFunction · 0.80
TestStaticSocketFunction · 0.80
uploadNodeMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestStaticFIFOFunction · 0.64
TestStaticSocketFunction · 0.64