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

Function docsCreatedFootnoteID

internal/cmd/docs_structural.go:330–340  ·  view source on GitHub ↗
(response *docs.BatchUpdateDocumentResponse)

Source from the content-addressed store, hash-verified

328}
329
330func docsCreatedFootnoteID(response *docs.BatchUpdateDocumentResponse) string {
331 if response == nil {
332 return ""
333 }
334 for _, reply := range response.Replies {
335 if reply != nil && reply.CreateFootnote != nil && reply.CreateFootnote.FootnoteId != "" {
336 return reply.CreateFootnote.FootnoteId
337 }
338 }
339 return ""
340}

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected