aligned 'ls' output

This commit is contained in:
Jarek Kowalski
2018-06-06 21:38:32 -07:00
parent 9ea74b2862
commit f869996a1c

View File

@@ -71,7 +71,7 @@ func listDirectory(ctx context.Context, mgr *snapshot.Manager, prefix string, oi
oid := objectID.String()
if *lsCommandLong {
info = fmt.Sprintf(
"%v %9d %v %-"+maxNameLenString+"s %v",
"%v %12d %v %-"+maxNameLenString+"s %v",
m.FileMode(),
m.FileSize,
m.ModTime.Local().Format(timeFormat),