storage/db: add ReplaceUpload for use in reindexing

ReplaceUpload removes any records for an upload so that those records
can be reinserted in the database.

Change-Id: I8fa0701b72c3ace380d3c7922df0c17b81a0d426
Reviewed-on: https://go-review.googlesource.com/35257
Reviewed-by: Russ Cox <rsc@golang.org>
2 files changed
tree: 544f69d50a48b477b5fed457c18f3520c6c5119f
  1. cmd/
  2. storage/
  3. AUTHORS
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README