summary refs log tree commit diff stats
path: root/ranger.py
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-15 02:21:17 +0200
committerhut <hut@lavabit.com>2012-08-15 02:37:11 +0200
commit19995fd134ac40c940e05e091246e384bbd2e3b1 (patch)
treecaf7c452acd705e7fe45251108cca5e0d85855f7 /ranger.py
parentf39d35d44ac4aa255e67fbbb42d78db00ffb4e2e (diff)
downloadranger-19995fd134ac40c940e05e091246e384bbd2e3b1.tar.gz
core.actions: imported shutil_g paste function from v1.2.3
The code implements the functionality of cp and mv coreutils in python
and was removed as of v1.4.0 for efficiency and simplicity reasons.
I moved it back in for several reasons:

1. I plan to enhance shutil_g to report on its copying status so I can
display a progress bar

2. With no need for external cp/mv programs, distribution-specific
differences (like broken backup option on MacOS/BSD?) become irrelevant

3. You can still copy in ranger if you accidently delete /bin/cp

4. It gets rid of the occasional bug that the cp process keeps running
when ranger is terminated while copying

The possible downside is reduced efficiency in copying and ranger might
get stuck if the copying function is blocked.  Let's see if it works
out.
Diffstat (limited to 'ranger.py')
0 files changed, 0 insertions, 0 deletions