From a7f8ad948b38c450c0f9ccd52185771ae8f9754e Mon Sep 17 00:00:00 2001 From: Ryo Nakamura Date: Tue, 6 Feb 2024 16:15:43 +0900 Subject: add -p option, preserving file timestamps --- src/path.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/path.h') diff --git a/src/path.h b/src/path.h index a46f61a..77f7086 100644 --- a/src/path.h +++ b/src/path.h @@ -98,7 +98,7 @@ void free_path(struct path *p); /* copy a chunk. either src_sftp or dst_sftp is not null, and another is null */ int copy_chunk(struct chunk *c, sftp_session src_sftp, sftp_session dst_sftp, - int nr_ahead, int buf_sz, size_t *counter); + int nr_ahead, int buf_sz, bool preserve_ts, size_t *counter); /* just print contents. just for debugging */ void path_dump(struct list_head *path_list); -- cgit v1.2.3