MCPcopy Create free account
hub / github.com/openclaw/gogcli / ApplyForceSendFields

Function ApplyForceSendFields

internal/sheetsformat/format.go:127–143  ·  view source on GitHub ↗
(format *sheets.CellFormat, formatPaths []string)

Source from the content-addressed store, hash-verified

125}
126
127func ApplyForceSendFields(format *sheets.CellFormat, formatPaths []string) error {
128 if format == nil {
129 return errFormatRequired
130 }
131
132 for _, path := range formatPaths {
133 if strings.TrimSpace(path) == "" {
134 continue
135 }
136
137 if err := forceSendJSONField(format, path); err != nil {
138 return fmt.Errorf("invalid format field %q: %w", path, err)
139 }
140 }
141
142 return nil
143}
144
145func HasBordersTypo(mask string) bool {
146 for _, part := range splitFieldMask(mask) {

Callers 4

RunMethod · 0.92
parseConditionalFormatFunction · 0.92
TestApplyForceSendFieldsFunction · 0.85

Calls 2

forceSendJSONFieldFunction · 0.85
ErrorfMethod · 0.80