MCPcopy
hub / github.com/pquerna/ffjson / WriteFlush

Method WriteFlush

inception/writerstack.go:54–57  ·  view source on GitHub ↗

WriteFlush will add a string and return the Flush result for the queue

(s string)

Source from the content-addressed store, hash-verified

52
53// WriteFlush will add a string and return the Flush result for the queue
54func (w *ConditionalWrite) WriteFlush(s string) string {
55 w.Write(s)
56 return w.Flush()
57}
58
59// GetQueued will return the current queued content without flushing.
60func (w *ConditionalWrite) GetQueued() string {

Callers 5

getMapValueFunction · 0.80
getGetInnerValueFunction · 0.80
getValueFunction · 0.80
getFieldFunction · 0.80
CreateMarshalJSONFunction · 0.80

Calls 2

WriteMethod · 0.95
FlushMethod · 0.95

Tested by

no test coverage detected