(&self, f: &mut fmt::Formatter<'_>)
| 665 | |
| 666 | impl<H: fmt::Debug> fmt::Display for GraphOp<H> { |
| 667 | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { |
| 668 | match self { |
| 669 | GraphOp::FileAdd { path, .. } => write!(f, "FileAdd: {}", path), |
| 670 | GraphOp::FileDel { path, .. } => write!(f, "FileDel: {}", path), |
| 671 | GraphOp::FileUndel { path, .. } => write!(f, "FileUndel: {}", path), |
| 672 | GraphOp::FileMove { path, .. } => write!(f, "FileMove: {}", path), |
| 673 | GraphOp::DirAdd { path, .. } => write!(f, "DirAdd: {}", path), |
| 674 | GraphOp::DirDel { path, .. } => write!(f, "DirDel: {}", path), |
| 675 | GraphOp::DirUndel { path, .. } => write!(f, "DirUndel: {}", path), |
| 676 | GraphOp::Edit { local, .. } => write!(f, "Edit: {}:{}", local.path, local.line), |
| 677 | GraphOp::Replacement { local, .. } => { |
| 678 | write!(f, "Replacement: {}:{}", local.path, local.line) |
| 679 | } |
| 680 | GraphOp::SolveNameConflict { path, .. } => write!(f, "SolveNameConflict: {}", path), |
| 681 | GraphOp::UnsolveNameConflict { path, .. } => write!(f, "UnsolveNameConflict: {}", path), |
| 682 | GraphOp::SolveOrderConflict { local, .. } => { |
| 683 | write!(f, "SolveOrderConflict: {}:{}", local.path, local.line) |
| 684 | } |
| 685 | GraphOp::UnsolveOrderConflict { local, .. } => { |
| 686 | write!(f, "UnsolveOrderConflict: {}:{}", local.path, local.line) |
| 687 | } |
| 688 | GraphOp::ResurrectZombies { local, .. } => { |
| 689 | write!(f, "ResurrectZombies: {}:{}", local.path, local.line) |
| 690 | } |
| 691 | GraphOp::AddRoot { .. } => write!(f, "AddRoot"), |
| 692 | GraphOp::DelRoot { .. } => write!(f, "DelRoot"), |
| 693 | GraphOp::SetAttr { path, value, .. } => write!(f, "SetAttr: {path} {value:?}"), |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | |
| 698 | /// Iterator over atoms contained in a graph_op. |
nothing calls this directly
no outgoing calls
no test coverage detected