mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
fix: don't suggest files:scan with object store in info:file
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
adfbefb8b7
commit
5448429f0b
1 changed files with 3 additions and 1 deletions
|
|
@ -96,7 +96,9 @@ class File extends Command {
|
|||
}, $children));
|
||||
if ($childSize != $node->getSize()) {
|
||||
$output->writeln(' <error>warning: folder has a size of ' . Util::humanFileSize($node->getSize()) . " but it's children sum up to " . Util::humanFileSize($childSize) . '</error>.');
|
||||
$output->writeln(' Run <info>occ files:scan --path ' . $node->getPath() . '</info> to attempt to resolve this.');
|
||||
if (!$node->getStorage()->instanceOfStorage(ObjectStoreStorage::class)) {
|
||||
$output->writeln(' Run <info>occ files:scan --path ' . $node->getPath() . '</info> to attempt to resolve this.');
|
||||
}
|
||||
}
|
||||
if ($showChildren) {
|
||||
$output->writeln(' children: ' . count($children) . ':');
|
||||
|
|
|
|||
Loading…
Reference in a new issue