B:BD[
3.511770] → [
2.94:1051]
previous_name.clear();
let parent_dest = txn.find_block_end(channel, parent.dest()).unwrap();
let FileMetadata {
basename: parent_name,
..
} = changes
.get_file_meta(
|p| txn.get_external(&p).unwrap().map(From::from),
*parent_dest,
&mut previous_name,
)
.map_err(RecordError::Changestore)?;
debug!("parent name {:?}", parent_name);
if parent_name != name {
is_any_rename = true;
}
}
for parent in iter_adjacent(
txn,
channel,
current_pos.inode_vertex(),
EdgeFlags::FOLDER | EdgeFlags::PARENT,
EdgeFlags::all(),
)? {
let parent = parent?;
if !parent
.flag()
.contains(EdgeFlags::FOLDER | EdgeFlags::PARENT)
{
continue;
}
debug!("parent = {:?}", parent);