summaryrefslogtreecommitdiffstats
path: root/src/copy_move.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy_move.rs')
-rw-r--r--src/copy_move.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/copy_move.rs b/src/copy_move.rs
index 12a337f..4244236 100644
--- a/src/copy_move.rs
+++ b/src/copy_move.rs
@@ -125,6 +125,11 @@ pub fn copy_move(
"{} finished {}B",
copy_or_move.verb(),
human_size(transfered_bytes)
+ );
+ info!(target: "special",
+ "{} finished {}B",
+ copy_or_move.verb(),
+ human_size(transfered_bytes)
)
});
Ok(())
@@ -132,7 +137,7 @@ pub fn copy_move(
/// Send a notification to the desktop.
/// Requires "notify-send" to be installed.
-pub fn notify(text: &str) -> FmResult<()> {
+fn notify(text: &str) -> FmResult<()> {
execute_in_child("notify-send", &vec![text])?;
Ok(())
}