MCPcopy
hub / github.com/perkeep/perkeep / NewStaticSet

Function NewStaticSet

pkg/schema/schema.go:565–567  ·  view source on GitHub ↗

NewStaticSet returns the "static-set" schema for a directory. Its members should be populated with SetStaticSetMembers.

()

Source from the content-addressed store, hash-verified

563// NewStaticSet returns the "static-set" schema for a directory. Its members
564// should be populated with SetStaticSetMembers.
565func NewStaticSet() *Builder {
566 return base(1, TypeStaticSet)
567}
568
569// SetStaticSetMembers sets the given members as the static-set members of this
570// builder. If the members are so numerous that they would not fit on a schema

Callers 6

UploadDirMethod · 0.92
RunCommandMethod · 0.92
directoryStaticSetMethod · 0.92
SetStaticSetMembersMethod · 0.85
testLargeDirFunction · 0.85
testReadDirFunction · 0.85

Calls 1

baseFunction · 0.85

Tested by 2

testLargeDirFunction · 0.68
testReadDirFunction · 0.68