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

Function isFormatJSONPath

internal/sheetsformat/format.go:200–207  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

198}
199
200func isFormatJSONPath(path string) bool {
201 if strings.TrimSpace(path) == "" {
202 return false
203 }
204 var format sheets.CellFormat
205
206 return forceSendJSONField(&format, path) == nil
207}
208
209func forceSendJSONField(root any, jsonPath string) error {
210 parent, fieldValue, fieldName, err := resolveJSONField(root, jsonPath)

Callers 1

NormalizeMaskFunction · 0.85

Calls 1

forceSendJSONFieldFunction · 0.85

Tested by

no test coverage detected