From cdcd6f2872237095e1d4ccd288f4571e188019ee Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 9 May 2023 14:56:37 +0200 Subject: [PATCH] also show file etag in file info Signed-off-by: Robin Appelman --- core/Command/Info/File.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Command/Info/File.php b/core/Command/Info/File.php index 20d8cbffc94e4..238c1e2814021 100644 --- a/core/Command/Info/File.php +++ b/core/Command/Info/File.php @@ -54,6 +54,7 @@ public function execute(InputInterface $input, OutputInterface $output): int { $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) {