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
74 var unpackContext unpackContext
75 unpackContext.propertyMap = make(map[string]*packedProperty)
76 if !unpackContext.buildPropertyMap("", properties) {
77 return nil, unpackContext.errs
86 unpackContext.unpackToStruct("", valueObject.Elem())
87 if len(unpackContext.errs) >= maxUnpackErrors {
88 return nil, unpackContext.errs
96 for name, v := range unpackContext.propertyMap {
103 if len(unusedNames) == 0 && len(unpackContext.errs) == 0 {
[all …]