Merge pull request #94 from rullzer/patch-1

Ignore ATTR_NOT_CONTENT_INDEXED
This commit is contained in:
Robin Appelman 2020-07-20 13:36:04 +00:00 committed by GitHub
commit 8481d66c8d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -108,6 +108,11 @@ class NativeFileInfo implements IFileInfo {
* @return int * @return int
*/ */
protected function getMode() { protected function getMode() {
$mode = $this->stat()['mode'];
// Let us ignore the ATTR_NOT_CONTENT_INDEXED for now
$mode &= ~0x00002000;
return $this->stat()['mode']; return $this->stat()['mode'];
} }