Add file icons

plus some fixes
This commit is contained in:
nxshock 2021-09-22 19:09:26 +05:00
parent 5fd8fc6573
commit f0ad3afff9
5 changed files with 67 additions and 14 deletions

View file

@ -26,3 +26,11 @@ func sizeToApproxHuman(s int64) string {
return fmt.Sprintf("%.1f KiB", v)
}
func nvl(a1, a2 string) string {
if a1 != "" {
return a1
}
return a2
}