[sledge] Add delete method to the Document class.

Document now have a `delete` method that is callable in transactions.
When called, the `delete` method results in sledge removing all the
key-values backing the document, unless the transaction is aborted.
Once deleted, access to the document results in exceptions being thrown.

In follow up CLs, a custom conflict strategy will be added to correctly
merge deletions, and Sledge's API will be changed to make it
impossible to recreate documents.

TEST=dart_sledge_tests

Change-Id: I2fc28231c156f0cf8a46fc32f72ddbcc4dc61e7a
7 files changed
tree: 8afc98d9843ed53aee753796a846b1b7c44ea032
  1. .cargo/
  2. app/
  3. auth_providers/
  4. bin/
  5. boards/
  6. docs/
  7. examples/
  8. lib/
  9. manifest/
  10. packages/
  11. products/
  12. public/
  13. runtime/
  14. shell/
  15. tests/
  16. tools/
  17. .clang-format
  18. .gitignore
  19. AUTHORS
  20. BUILD.gn
  21. CONTRIBUTING.md
  22. LICENSE
  23. MAINTAINERS
  24. PATENTS
  25. README.md
  26. rustfmt.toml
README.md

Topaz

Topaz augments system functionality by implementing interfaces defined by underlying layers. Topaz contains four major categories of software: modules, agents, shells, and runners.

For example, modules include the dashboard, and runners include the Web, Dart, and Flutter runners.

Removed Components

Looking for something that used to be in this repository? The list below provides a code location and sha that can be used to checkout dead code that has been removed. Please note, the code will most likely be a reference only. It is unlikely the code will build or work correctly. Code can be checked out with:

    git checkout <sha> -- $FUCHSIA_DIR/<location>
  • topaz/app/chat: 9f6c31d2ceb8353f229a9ef6b53ba2386ff31867
  • topaz/app/color: 5a023ccb054104846e3e913951bcc7dc277d2274
  • topaz/app/contacts: 80378fe470817750188707de29237282892a3142
  • topaz/app/image: 5e731a943a907cf960ecfbda1c391958f9093afa