undo method

Set<String> undo(
  1. Cache cache
)

Restores previous in cache. Returns the keys touched by the undo.

Implementation

Set<String> undo(Cache cache) => previous == missing
    ? cache.remove(operation, path)
    : cache.write(operation, path, previous);