Home
last modified time | relevance | path

Searched refs:unpackContext (Results 1 – 1 of 1) sorted by relevance

/build/blueprint/proptools/
Dunpack.go47 type unpackContext struct { struct
70 var unpackContext unpackContext
71 unpackContext.propertyMap = make(map[string]*packedProperty)
72 if !unpackContext.buildPropertyMap("", properties) {
73 return nil, unpackContext.errs
82 unpackContext.unpackToStruct("", valueObject.Elem())
83 if len(unpackContext.errs) >= maxUnpackErrors {
84 return nil, unpackContext.errs
92 for name, v := range unpackContext.propertyMap {
99 if len(unusedNames) == 0 && len(unpackContext.errs) == 0 {
[all …]