mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
also show file etag in file info
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
53957cf35b
commit
cdcd6f2872
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Reference in a new issue