gopkg.in/yaml.v2.yaml_emitter_t.best_width (field)
15 uses
gopkg.in/yaml.v2 (current package)
apic.go#L89: best_width: -1,
apic.go#L155: emitter.best_width = width
emitterc.go#L286: if emitter.best_width >= 0 && emitter.best_width <= emitter.best_indent*2 {
emitterc.go#L287: emitter.best_width = 80
emitterc.go#L289: if emitter.best_width < 0 {
emitterc.go#L290: emitter.best_width = 1<<31 - 1
emitterc.go#L495: if emitter.canonical || emitter.column > emitter.best_width {
emitterc.go#L541: if emitter.canonical || emitter.column > emitter.best_width {
emitterc.go#L565: if emitter.canonical || emitter.column > emitter.best_width {
emitterc.go#L1324: if allow_breaks && !spaces && emitter.column > emitter.best_width && !is_space(value, i+1) {
emitterc.go#L1380: if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 && !is_space(value, i+1) {
emitterc.go#L1521: if allow_breaks && !spaces && emitter.column > emitter.best_width && i > 0 && i < len(value)-1 {
emitterc.go#L1670: if !breaks && is_space(value, i) && !is_space(value, i+1) && emitter.column > emitter.best_width {
yamlh.go#L672: best_width int // The preferred width of the output lines.
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |