Merge pull request #4664 from MichaelEischer/ls-unified-json-output

ls: include standard `message_type` field in output
This commit is contained in:
Michael Eischer
2024-02-18 15:47:41 +00:00
committed by GitHub
5 changed files with 81 additions and 74 deletions

View File

@@ -0,0 +1,8 @@
Enhancement: `ls` uses `message_type` field to distinguish JSON messages
The `ls` command was the only command that used the `struct_type` field to determine
the message type in the JSON output format. Now, the JSON output of the
`ls` command also includes the `message_type`. The `struct_type` field is
still included, but it deprecated.
https://github.com/restic/restic/pull/4664