-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log entries that are hidden during file listing #10697
Conversation
@@ -174,15 +183,18 @@ protected function getFolderContents($path) { | |||
} | |||
return array_filter($files, function (IFileInfo $file) { | |||
try { | |||
$this->logger->debug('hiding hidden file ' . $file->getName()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't the state depend on the return value of the following method?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
🙈
Signed-off-by: Robin Appelman <[email protected]>
6242e2f
to
bdc6d0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine by me 🐘
@icewind1991 any reason we decide not to show hidden files? |
because showing them would cause inconsistent views between NC and mounting the share in windows and we don't have proper hidden file handling |
What do you mean by that? We have the show/hide hidden files option in nextcloud, so it's also inconsistent between any smb mount and what is displayed on nextcloud. 🤔 |
that only deals with files starting with |
Exactly, and dot files are set as hidden in samba. |
|
that's samba, with windows smb servers it's different |
@icewind1991 okay, though this is an issue. |
I can add an option to show hidden items, please create an issue for tracking |
Awesome @icewind1991 :) I owe you a beer! |
Signed-off-by: Robin Appelman [email protected]