feat: show permissions in info:file output

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2025-03-27 19:51:50 +01:00
parent 874c283d48
commit f436ab066e

View file

@ -79,6 +79,7 @@ class File extends Command {
$output->writeln(' size: ' . Util::humanFileSize($node->getSize()));
$output->writeln(' etag: ' . $node->getEtag());
$output->writeln(' permissions: ' . $this->fileUtils->formatPermissions($node->getType(), $node->getPermissions()));
if ($node instanceof Folder) {
$children = $node->getDirectoryListing();
$childSize = array_sum(array_map(function (Node $node) {