1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-10-04 04:31:00 +00:00
go-mtree/cmd/gomtree
Aleksa Sarai 02df712987
compare: export official way to modify InodeDelta.Diff
At the moment, filtering out keyword changes from an InodeDelta after
doing Compare is a little complicated and error-prone. The simplest
solution is to allow for callers to access a pointer to the underlying
slice so it can be modified properly.

The filtering logic in the gomtree command-line implicitly depends on
the behaviour of InodeDelta.Diff -- DiffPtr would be a far more
appropriate replacement.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2025-09-24 01:17:00 +10:00
..
cmd compare: export official way to modify InodeDelta.Diff 2025-09-24 01:17:00 +10:00
main.go gomtree: return exit status != 0 on error 2025-09-08 23:52:51 +10:00