Skip to content
go-libfossil Artifact [95503c2e70]
Login

Artifact [95503c2e70]

Artifact 95503c2e70959090de2e5a3319f5ef435ed2139b64b4ad57fa0ff5fb3f523312:


//go:build js

package checkout

import "database/sql"

// updateUndo is empty under js/wasm, which has no undo package: Update
// saves no undo state there, and cannot put files back after a failure.
type updateUndo struct{}

func (c *Checkout) readUpdateUndo([]updateStep) (updateUndo, error) { return updateUndo{}, nil }

func (updateUndo) save(*sql.Tx) error { return nil }

func (c *Checkout) rollBackUpdate(updateUndo) error { return nil }