(body Body)
| 316 | } |
| 317 | |
| 318 | func (doc *Document) UpdateBody(body Body) { |
| 319 | doc._body = body |
| 320 | doc._rawBody = nil |
| 321 | } |
| 322 | |
| 323 | // Marshals both the body and sync data for a given document. If there is no rawbody already available then we will |
| 324 | // marshall it all in one go. Otherwise we will reduce marshalling as much as possible by only marshalling the sync data |
no outgoing calls
no test coverage detected