mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
feat: show permissions in info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
874c283d48
commit
f436ab066e
1 changed files with 1 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue