aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2023-05-11 13:21:48 +0200
committerGitHub <noreply@github.com>2023-05-11 13:21:48 +0200
commit9d2d3d482bce004d134dd87d7b37c3dfb6513412 (patch)
treefb93637f7b32b2c092da5bcabc5317dc5e203607
parent979f4033ca1cd0be7f255f028d4cc637a216440d (diff)
parentcdcd6f2872237095e1d4ccd288f4571e188019ee (diff)
downloadnextcloud-server-9d2d3d482bce004d134dd87d7b37c3dfb6513412.tar.gz
nextcloud-server-9d2d3d482bce004d134dd87d7b37c3dfb6513412.zip
Merge pull request #38148 from nextcloud/file-info-etag
also show file etag in file info
-rw-r--r--core/Command/Info/File.php1
1 files changed, 1 insertions, 0 deletions
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) {