| 1 |
{{with .Message -}} |
| 2 |
{{. -}} |
| 3 |
{{else with .Stat -}} |
| 4 |
{{.Permissions | printf "\033[36m%s\033[0m" -}} |
| 5 |
{{with .LinkCount}} {{.}}{{end -}} |
| 6 |
{{with .User}} {{.}}{{end -}} |
| 7 |
{{with .Group}} {{.}}{{end -}} |
| 8 |
{{.Size | humanize | printf " %5s" -}} |
| 9 |
{{.ModTime | printf " %s" -}} |
| 10 |
{{with .Target}} -> {{.}}{{end -}} |
| 11 |
{{end -}} |
| 12 |
{{.SPACER -}} |
| 13 |
{{with .Keys}} {{.}}{{end -}} |
| 14 |
{{with .Progress}} {{join . " "}}{{end -}} |
| 15 |
{{with .Copy}} {{len . | printf "%s %d \033[0m" $.Options.copyfmt}}{{end -}} |
| 16 |
{{with .Cut}} {{len . | printf "%s %d \033[0m" $.Options.cutfmt}}{{end -}} |
| 17 |
{{with .Select}} {{len . | printf "%s %d \033[0m" $.Options.selectfmt}}{{end -}} |
| 18 |
{{with .Visual}} {{len . | printf "%s %d \033[0m" $.Options.visualfmt}}{{end -}} |
| 19 |
{{with .Filter}} {{join . " " | printf "\033[7;34m %s \033[0m"}}{{end -}} |
| 20 |
{{printf " %d/%d" .Index .Total}} |