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

Method Delete

internal/api/client.go:233–239  ·  view source on GitHub ↗

Delete deletes the edit without committing

()

Source from the content-addressed store, hash-verified

231
232// Delete deletes the edit without committing
233func (e *Edit) Delete() error {
234 err := e.client.service.Edits.Delete(e.client.packageName, e.editID).Context(e.ctx).Do()
235 if err != nil {
236 return fmt.Errorf("failed to delete edit: %w", err)
237 }
238 return nil
239}
240
241// Close releases resources
242func (e *Edit) Close() {

Callers 15

runDiffFunction · 0.95
runRevokeFunction · 0.80
runListFunction · 0.80
runFindFunction · 0.80
runDeleteFunction · 0.80
runListFunction · 0.80
runGetFunction · 0.80
runDeleteFunction · 0.80
checkPublisherAPIFunction · 0.80
runDeleteFunction · 0.80
runListFunction · 0.80
runGetFunction · 0.80

Calls 1

ContextMethod · 0.45

Tested by

no test coverage detected