MCPcopy Create free account
hub / github.com/MG-RAST/Shock / SetIndexInfo

Method SetIndexInfo

shock-server/node/node.go:359–361  ·  view source on GitHub ↗
(indextype string, idxinfo *IdxInfo)

Source from the content-addressed store, hash-verified

357}
358
359func (node *Node) SetIndexInfo(indextype string, idxinfo *IdxInfo) {
360 node.Indexes[indextype] = idxinfo
361}
362
363func (node *Node) SetExpiration(expire string) (err error) {
364 parts := ExpireRegex.FindStringSubmatch(expire)

Callers 3

AsyncIndexerFunction · 0.95
UpdateMethod · 0.95
IndexTypedRequestFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected