MCPcopy Create free account
hub / github.com/AndroidPoet/playconsole-cli / Validate

Method Validate

internal/api/client.go:215–221  ·  view source on GitHub ↗

Validate validates the edit

()

Source from the content-addressed store, hash-verified

213
214// Validate validates the edit
215func (e *Edit) Validate() error {
216 _, err := e.client.service.Edits.Validate(e.client.packageName, e.editID).Context(e.ctx).Do()
217 if err != nil {
218 return fmt.Errorf("edit validation failed: %w", err)
219 }
220 return nil
221}
222
223// Commit commits the edit
224func (e *Edit) Commit() error {

Callers 1

runValidateFunction · 0.80

Calls 1

ContextMethod · 0.45

Tested by

no test coverage detected