changeset | ea6a9ba7a3c8 |
---|---|
branch | default |
bookmark | |
tag | tip |
user | Mikael Berthe <mikael@lilotux.net> |
description | Display existing hard links in result sets This is a breaking change in the plain text output, but somehow the list displayed in case of existing hard links was arbitrary, since the all the hardlinked filenames were not displayed. Here's a sample JSON result with this patch: { "file_size": 9216, "paths": [ "test_tree/f09-1_5.raw", "test_tree/f09-4_5.raw" ], "links": { "test_tree/f09-1_5.raw": [ "test_tree/f09-2_5.raw", "test_tree/f09-3_5.raw" ], "test_tree/f09-4_5.raw": [ "test_tree/f09-5_5.raw" ] } } Here the 5 files have the same contents, but there are two hardlink groups: "test_tree/f09-1_5.raw" "test_tree/f09-2_5.raw" "test_tree/f09-3_5.raw" are hard-linked, and "test_tree/f09-4_5.raw" "test_tree/f09-5_5.raw" are hard-linked. Here's the same set displayed With the regular text output: Group #5 (2 files * 9216 bytes): test_tree/f09-1_5.raw test_tree/f09-2_5.raw test_tree/f09-3_5.raw test_tree/f09-4_5.raw test_tree/f09-5_5.raw (The link file names are indented using 1 space character.) |
files | goduf.go output.go |
changeset | af90d9396ef1 |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Improve previous commit (JSON output) |
files | goduf.go |
changeset | 95d940f9598e |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Do not display Dupes title when using JSON output |
files | goduf.go |
changeset | 3fa13770e970 |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Rename JSON size fields Make the field names more explicit... |
files | goduf.go output.go |
changeset | bce80b708ddb |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | JSON: Add fields 'total_size' and 'total_size_h' |
files | goduf.go |
changeset | 7f9cdb9d166d |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | JSON output: NumberOfSets was not set |
files | goduf.go |
changeset | 24ca1bf4a0bf |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Move formatSize() to output.go |
files | goduf.go output.go |
changeset | 25db238bf03f |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Cosmetic changes |
files | goduf.go |
changeset | a7662fbfbe02 |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Some code refactoring Move logic out of main(). |
files | goduf.go |
changeset | e918b7e63748 |
---|---|
branch | |
bookmark | |
tag | |
user | Mikael Berthe <mikael@lilotux.net> |
description | Add JSON output |
files | goduf.go output.go |