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

Method IsList

cmn/api_multiobj.go:51–51  ·  view source on GitHub ↗

NOTE: empty SelectObjsMsg{} corresponds to (range = entire bucket)

()

Source from the content-addressed store, hash-verified

49// NOTE: empty SelectObjsMsg{} corresponds to (range = entire bucket)
50
51func (lrm *SelectObjsMsg) IsList() bool { return len(lrm.ObjNames) > 0 }
52func (lrm *SelectObjsMsg) HasTemplate() bool { return lrm.Template != "" }
53
54////////////////

Callers 6

RunMethod · 0.80
NewMethod · 0.80
RunMethod · 0.80
NewMethod · 0.80
RunMethod · 0.80
RunMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected