also show file etag in file info

Signed-off-by: Robin Appelman <robin@icewind.nl>
pull/38148/head
Robin Appelman 3 years ago
parent 53957cf35b
commit cdcd6f2872
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
  1. 1
      core/Command/Info/File.php

@ -54,6 +54,7 @@ class File extends Command {
$output->writeln(" modified: " . (string)$this->l10n->l("datetime", $node->getMTime()));
$output->writeln(" " . ($node->isEncrypted() ? "encrypted" : "not encrypted"));
$output->writeln(" size: " . Util::humanFileSize($node->getSize()));
$output->writeln(" etag: " . $node->getEtag());
if ($node instanceof Folder) {
$children = $node->getDirectoryListing();
$childSize = array_sum(array_map(function (Node $node) {

Loading…
Cancel
Save