tty-file
tty-file copied to clipboard
Update #13 , Correct corner cases
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?