equal
deleted
inserted
replaced
133 }, |
133 }, |
134 )); |
134 )); |
135 } |
135 } |
136 let mut new_filename = new_filename.into_vec(); |
136 let mut new_filename = new_filename.into_vec(); |
137 if let Some(copy) = copy_map.get(filename) { |
137 if let Some(copy) = copy_map.get(filename) { |
138 new_filename.push('\0' as u8); |
138 new_filename.push(b'\0'); |
139 new_filename.extend(copy.bytes()); |
139 new_filename.extend(copy.bytes()); |
140 } |
140 } |
141 |
141 |
142 packed.write_u8(entry.state.into())?; |
142 packed.write_u8(entry.state.into())?; |
143 packed.write_i32::<BigEndian>(entry.mode)?; |
143 packed.write_i32::<BigEndian>(entry.mode)?; |