--- a/output.go Sat Dec 01 22:46:09 2018 +0100
+++ b/output.go Wed Feb 23 22:56:53 2022 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2014-2018 Mikael Berthe <mikael@lilotux.net>
+ * Copyright (C) 2014-2022 Mikael Berthe <mikael@lilotux.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -65,6 +65,11 @@
len(g.Paths), formatSize(g.FileSize, true))
for _, f := range g.Paths {
fmt.Println(f)
+ if g.Links != nil { // Display linked files
+ for _, lf := range g.Links[f] {
+ fmt.Printf(" %s\n", lf)
+ }
+ }
}
}
}