cmd/browser: don't allow copying of a directory into itself

If you recursively copy a directory into itself then it will generate an
infinitely deep directory tree, so don't allow the user to do it.

Change-Id: I6e88c6a49b9a187a1c64546524a897a7cf2660fa
Reviewed-on: https://upspin-review.googlesource.com/12281
Reviewed-by: Rob Pike <r@golang.org>
1 file changed
tree: 6868382863e7843d53d59c22afda0edf5e6be87d
  1. .travis.yml
  2. AUTHORS
  3. CONDUCT.md
  4. CONTRIBUTING.md
  5. CONTRIBUTORS
  6. LICENSE
  7. PATENTS
  8. README.md
  9. client/
  10. cmd/
  11. codereview.cfg
  12. filesystem/
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.