if check(err, "Stat "+path) == nil {
if lfi.IsDir() {
// link points to a directory
- list += "1" + fi.Name() + " -> " + linktarget + "\t" + selector + pathSep + fi.Name() + loc
+ list += "1" + fi.Name() + "\t" + selector + pathSep + fi.Name() + loc
} else if lfi.Mode().IsRegular() {
// link points to a regular file
ftype, _ := guessFiletype(dirname + pathSep + fi.Name())
- list += ftype + fi.Name() + " -> " + linktarget + "\t" + selector + pathSep + fi.Name() + loc
+ list += ftype + fi.Name() + " (" + humanSize(lfi.Size()) + ")\t" + selector + pathSep + fi.Name() + loc
}
}
}