Loading filelist/cache.go +1 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ func Save(list *rsync.FileList, module string, prepath string) { fmt.Println("key= ", string(k)) var m FInfo proto.Unmarshal(v, &m) fmt.Println(m) fmt.Println(m.Mtime, m.Size) } return nil Loading rsync/receiver.go +8 −0 Original line number Diff line number Diff line Loading @@ -292,3 +292,11 @@ func exchangeBlock() { // Send a empty signature block (no Rolling Checksum & Hash value) // Download the data blocks, and write them into a file } func FinalPhase(conn net.Conn, data chan byte) { binary.Write(conn, binary.LittleEndian, int32(-1)) ioerror := GetInteger(data) fmt.Println(ioerror) } Loading
filelist/cache.go +1 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ func Save(list *rsync.FileList, module string, prepath string) { fmt.Println("key= ", string(k)) var m FInfo proto.Unmarshal(v, &m) fmt.Println(m) fmt.Println(m.Mtime, m.Size) } return nil Loading
rsync/receiver.go +8 −0 Original line number Diff line number Diff line Loading @@ -292,3 +292,11 @@ func exchangeBlock() { // Send a empty signature block (no Rolling Checksum & Hash value) // Download the data blocks, and write them into a file } func FinalPhase(conn net.Conn, data chan byte) { binary.Write(conn, binary.LittleEndian, int32(-1)) ioerror := GetInteger(data) fmt.Println(ioerror) }