From cdcd6f2872237095e1d4ccd288f4571e188019ee Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Tue, 9 May 2023 14:56:37 +0200 Subject: also show file etag in file info Signed-off-by: Robin Appelman --- core/Command/Info/File.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core') diff --git a/core/Command/Info/File.php b/core/Command/Info/File.php index 20d8cbffc94..238c1e28140 100644 --- a/core/Command/Info/File.php +++ b/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) { -- cgit v1.2.3