Skip to content

Commit d1926e5

Browse files
committed
version bump
1 parent 1315a61 commit d1926e5

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "fast-scp"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
description = "A fast and simple scp CLI tool"
55
license = "MIT"
66
repository = "https://github.com/dcodesdev/fast-scp"

src/scp.rs

+5-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ impl Connect {
4444

4545
async fn handle_file(&self, from: &PathBuf, to: &PathBuf) -> Result<()> {
4646
let full_path = to.join(from.file_name().unwrap_or(OsStr::new("unknown")));
47-
copy_file_from_remote(&self.ssh_opts, from.clone(), full_path, &self.mode).await
47+
let result =
48+
copy_file_from_remote(&self.ssh_opts, from.clone(), full_path, &self.mode).await;
49+
50+
println!("✅ File received successfully");
51+
result
4852
}
4953

5054
async fn handle_dir(&self, from: &PathBuf, to: &PathBuf) -> Result<()> {

0 commit comments

Comments
 (0)