multipass icon indicating copy to clipboard operation
multipass copied to clipboard

Transfer p flag

Open andrei-toterman opened this issue 2 years ago • 1 comments

This PR adds the -p|--parents option to the transfer command, to create any missing parent directories

fix #1434

andrei-toterman avatar Sep 14 '22 12:09 andrei-toterman

Codecov Report

Merging #2744 (752213b) into main (9e3a261) will increase coverage by 0.02%. The diff coverage is 95.55%.

@@            Coverage Diff             @@
##             main    #2744      +/-   ##
==========================================
+ Coverage   87.37%   87.39%   +0.02%     
==========================================
  Files         226      226              
  Lines       11299    11324      +25     
==========================================
+ Hits         9872     9897      +25     
  Misses       1427     1427              
Impacted Files Coverage Δ
include/multipass/ssh/sftp_client.h 100.00% <ø> (ø)
include/multipass/ssh/sftp_utils.h 100.00% <ø> (ø)
src/ssh/sftp_client.cpp 95.65% <75.00%> (+0.05%) :arrow_up:
src/client/cli/cmd/transfer.cpp 98.30% <100.00%> (+0.02%) :arrow_up:
src/ssh/sftp_utils.cpp 95.65% <100.00%> (+1.13%) :arrow_up:
src/utils/file_ops.cpp 94.02% <100.00%> (+0.18%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Sep 14 '22 13:09 codecov[bot]

bors r+

luis4a0 avatar Sep 26 '22 12:09 luis4a0

Build failed:

bors[bot] avatar Sep 26 '22 15:09 bors[bot]

Ok, passed most integration tests and failed for unrelated reasons. Will merge manually,

townsend2010 avatar Sep 26 '22 15:09 townsend2010