|
|
@ -116,14 +116,14 @@ fn format_line( |
|
|
|
permissions: Permissions,
|
|
|
|
) -> String {
|
|
|
|
format!(
|
|
|
|
"{} | {:4} | {:6} | {} | {} | {} | {} |",
|
|
|
|
"{} | {:4} | {:6} | {:<10} | {:<10} | {:<10} | {:<5} |",
|
|
|
|
right_padding(file_name, max_name_len),
|
|
|
|
file_type,
|
|
|
|
format_filesize(file_size),
|
|
|
|
right_padding(&format_date(modified), 10),
|
|
|
|
right_padding(&format_date(accessed), 10),
|
|
|
|
right_padding(&format_date(created), 10),
|
|
|
|
right_padding(&permissions.readonly().to_string(), 5),
|
|
|
|
format_date(modified),
|
|
|
|
format_date(accessed),
|
|
|
|
format_date(created),
|
|
|
|
permissions.readonly().to_string(),
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|