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

Function normalizeDriveCommentSince

internal/cmd/comment_ops.go:178–188  ·  view source on GitHub ↗
(raw string)

Source from the content-addressed store, hash-verified

176}
177
178func normalizeDriveCommentSince(raw string) (string, error) {
179 trimmed := strings.TrimSpace(raw)
180 if trimmed == "" {
181 return "", nil
182 }
183 parsed, err := time.Parse(time.RFC3339Nano, trimmed)
184 if err != nil {
185 return "", usagef("invalid --since %q (expected RFC3339 timestamp with timezone)", raw)
186 }
187 return parsed.Format(time.RFC3339Nano), nil
188}
189
190func driveCommentFieldsForList(opts driveCommentListOptions) string {
191 if opts.mode == driveCommentListModeExpanded {

Callers 2

RunMethod · 0.85
RunMethod · 0.85

Calls 1

usagefFunction · 0.85

Tested by

no test coverage detected