[cipd] Handle an edge case in EnsureFileGone.

If we have a regular file "a/b", and call EnsureFileGone("a/b/c"), it fails even
though "a/b/c" technically doesn't exist.

R=iannucci@chromium.org
BUG=915278

Change-Id: Ia097bb0bc10c64e6eb846e18ad3cdaf74baf4f6c
Reviewed-on: https://chromium-review.googlesource.com/c/1378595
Reviewed-by: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Vadim Shtayura <vadimsh@chromium.org>
2 files changed
tree: a03ec94230ec4dcbac105f0f7721c7b645c47304
  1. .travis.yml
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. OWNERS
  7. PRESUBMIT.py
  8. README.md
  9. appengine/
  10. auth/
  11. buildbucket/
  12. cipd/
  13. client/
  14. codereview.settings
  15. common/
  16. config/
  17. dm/
  18. examples/
  19. gce/
  20. grpc/
  21. hardcoded/
  22. infra/
  23. logdog/
  24. luci_notify/
  25. lucicfg/
  26. lucictx/
  27. machine-db/
  28. milo/
  29. mmutex/
  30. mp/
  31. pre-commit-go.yml
  32. scheduler/
  33. scripts/
  34. server/
  35. starlark/
  36. tokenserver/
  37. tools/
  38. tumble/
  39. vpython/
  40. web/
README.md

luci-go: LUCI services and tools in Go

GoDoc

Installing

LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:

fetch infra
cd infra/go
eval `./env.py`
cd src/go.chromium.org/luci

Contributing

Contributing uses the same flow as Chromium contributions.