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. client/
  2. cmd/
  3. filesystem/
  4. .travis.yml
  5. AUTHORS
  6. codereview.cfg
  7. CONDUCT.md
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. LICENSE
  11. PATENTS
  12. README.md
README.md

Upspin exp repository

This repository contains components that are experimental or under development.

See the master repository for more information.