tty-file icon indicating copy to clipboard operation
tty-file copied to clipboard

Update #13 , Correct corner cases

Open rom3r4 opened this issue 4 years ago • 0 comments

Describe the change

  • Add return value to copy_file() issue 13
  • Correct Source is a directory
  • Correct Source does not exist
  • Correct Destination is a directory

Why are we doing this?

  • Change behaviour in copy_file() method

Benefits

  • Add a return value to copy_file() - as in copy_directory()
  • Treat corner-cases

Drawbacks

  • Regressions

Requirements

Put an X between brackets on each line if you have done the item: [] Tests written & passing locally? [] Code style checked? [] Rebased with master branch? [] Documentaion updated?

rom3r4 avatar Feb 05 '21 01:02 rom3r4