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

Method Commit

internal/api/client.go:224–230  ·  view source on GitHub ↗

Commit commits the edit

()

Source from the content-addressed store, hash-verified

222
223// Commit commits the edit
224func (e *Edit) Commit() error {
225 _, err := e.client.service.Edits.Commit(e.client.packageName, e.editID).Context(e.ctx).Do()
226 if err != nil {
227 return fmt.Errorf("failed to commit edit: %w", err)
228 }
229 return nil
230}
231
232// Delete deletes the edit without committing
233func (e *Edit) Delete() error {

Callers 15

runUploadFunction · 0.80
runCommitFunction · 0.80
runUploadFunction · 0.80
runUploadFunction · 0.80
runUpdateFunction · 0.80
runPromoteFunction · 0.80
runHaltFunction · 0.80
runCompleteFunction · 0.80
runUploadFunction · 0.80
runDeleteFunction · 0.80
runDeleteAllFunction · 0.80
runSyncFunction · 0.80

Calls 1

ContextMethod · 0.45

Tested by

no test coverage detected