From 995545c8f76f303452541ad6e098eb5dd0912b57 Mon Sep 17 00:00:00 2001 From: Bittrance Date: Sun, 20 Aug 2023 19:21:33 +0200 Subject: [PATCH] Checkout outcome now implements debug. --- gix-worktree-state/src/checkout/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gix-worktree-state/src/checkout/mod.rs b/gix-worktree-state/src/checkout/mod.rs index 70e46c84e2e..cddc597a84b 100644 --- a/gix-worktree-state/src/checkout/mod.rs +++ b/gix-worktree-state/src/checkout/mod.rs @@ -11,6 +11,7 @@ pub struct Collision { } /// A path that encountered an IO error. +#[derive(Debug)] pub struct ErrorRecord { /// the path that encountered the error. pub path: BString, @@ -19,7 +20,7 @@ pub struct ErrorRecord { } /// The outcome of checking out an entire index. -#[derive(Default)] +#[derive(Debug, Default)] pub struct Outcome { /// The amount of files updated, or created. pub files_updated: usize,