Skip to content

Commit

Permalink
Merge pull request #18 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
diff: show tar entry index differences
  • Loading branch information
AkihiroSuda authored Oct 1, 2023
2 parents 6d99b41 + c3f9f25 commit 6ff203b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/diff/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,8 @@ func (h *defaultEventHandler) HandleEventTreeNode(ctx context.Context, node *Eve
d0, d1 = "Atime "+hdr0.AccessTime.String(), "Atime "+hdr1.AccessTime.String()
} else if !hdr0.ChangeTime.Equal(hdr1.ChangeTime) {
d0, d1 = "Ctime "+hdr0.ChangeTime.String(), "Ctime "+hdr1.ChangeTime.String()
} else if ent0.Index != ent1.Index {
d0, d1 = fmt.Sprintf("Index %d", ent0.Index), fmt.Sprintf("Index %d", ent1.Index)
}
// TODO: Xattrs
}
Expand Down

0 comments on commit 6ff203b

Please sign in to comment.