Re: Which function in generator trigger the file transfer?

2009-06-04 Thread Wayne Davison
On Tue, Jun 02, 2009 at 03:31:02PM +0800, Daniel.Li wrote: As receiver will use read_ndx_and_attrs to read iflags to judge if it's need to be transfered? You can get a good overview of how rsync works here: http://rsync.samba.org/how-rsync-works.html After reading through that, you

Which function in generator trigger the file transfer?

2009-06-02 Thread Daniel.Li
Dear List, I checked the function generate_files, which might be simply stand for generator, but didn't find where triggers the file transfer. As receiver will use read_ndx_and_attrs to read iflags to judge if it's need to be transfered? If I'm wrong, please correct me. Can anyone help to point

Re: Which function in generator trigger the file transfer?

2009-06-02 Thread Daniel.Li
I'm new to rsync, just read little of codes right now. I have read the pipe line would be generator → sender → receiver. But I didn't find where rsync makes sure that the file is going to be transfered (time stamp/file checksum). A. Is there anyone familiar with the code, can give me