MCPcopy
hub / github.com/NVIDIA/aistore / New

Method New

xs/multiobj.go:234–239  ·  view source on GitHub ↗

evict/delete //

(args xreg.Args, bck *cluster.Bck)

Source from the content-addressed store, hash-verified

232//////////////////
233
234func (p *evdFactory) New(args xreg.Args, bck *cluster.Bck) xreg.Renewable {
235 msg := args.Custom.(*cmn.SelectObjsMsg)
236 debug.Assert(!msg.IsList() || !msg.HasTemplate())
237 np := &evdFactory{RenewBase: xreg.RenewBase{Args: args, Bck: bck}, kind: p.kind, msg: msg}
238 return np
239}
240
241func (p *evdFactory) Start() error {
242 p.xctn = newEvictDelete(&p.Args, p.kind, p.Bck, p.msg)

Callers

nothing calls this directly

Calls 3

AssertFunction · 0.92
IsListMethod · 0.80
HasTemplateMethod · 0.80

Tested by

no test coverage detected