Record file root sync conflicts
This commit is contained in:
parent
533ffc8c2a
commit
475c6a4a2a
8 changed files with 324 additions and 14 deletions
|
|
@ -1454,6 +1454,7 @@ fn print_response(response: ControlResponse, json: bool) -> Result<()> {
|
|||
name,
|
||||
root,
|
||||
tree_bytes_imported,
|
||||
sync_conflicts,
|
||||
allowed,
|
||||
reason,
|
||||
note,
|
||||
|
|
@ -1469,6 +1470,16 @@ fn print_response(response: ControlResponse, json: bool) -> Result<()> {
|
|||
.unwrap_or_else(|| "unscanned".to_owned())
|
||||
);
|
||||
println!("tree_bytes_imported: {tree_bytes_imported}");
|
||||
println!("sync_conflicts: {}", sync_conflicts.len());
|
||||
for conflict in sync_conflicts {
|
||||
println!(
|
||||
"{}\t{}\t{}\t{}",
|
||||
conflict.id,
|
||||
conflict.path,
|
||||
conflict.kind.as_str(),
|
||||
conflict.status.as_str()
|
||||
);
|
||||
}
|
||||
} else {
|
||||
println!("file root sync denied by {peer_node_id}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue