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

Function validateDocsTableMutationArgs

internal/cmd/docs_table_ops.go:310–319  ·  view source on GitHub ↗
(rawDocID, table string)

Source from the content-addressed store, hash-verified

308}
309
310func validateDocsTableMutationArgs(rawDocID, table string) (string, error) {
311 docID := normalizeGoogleID(strings.TrimSpace(rawDocID))
312 if docID == "" {
313 return "", usage("empty docId")
314 }
315 if table == "" {
316 return "", usage("empty --table")
317 }
318 return docID, nil
319}
320
321func loadDocsSelectedTables(
322 ctx context.Context,

Callers 5

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
runDocsTableMergeCommandFunction · 0.85

Calls 2

normalizeGoogleIDFunction · 0.85
usageFunction · 0.85

Tested by

no test coverage detected