Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/files_external/3rdparty/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
},
"require": {
"icewind/streams": "0.7.1",
"icewind/smb": "3.2.4"
"icewind/smb": "3.2.5"
}
}
12 changes: 6 additions & 6 deletions apps/files_external/3rdparty/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions apps/files_external/3rdparty/composer/installed.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[
{
"name": "icewind/smb",
"version": "v3.2.4",
"version_normalized": "3.2.4.0",
"version": "v3.2.5",
"version_normalized": "3.2.5.0",
"source": {
"type": "git",
"url": "https://github.com/icewind1991/SMB.git",
"reference": "999d6687ca9d4ac2600185c935b45206e47e604a"
"reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/icewind1991/SMB/zipball/999d6687ca9d4ac2600185c935b45206e47e604a",
"reference": "999d6687ca9d4ac2600185c935b45206e47e604a",
"url": "https://api.github.com/repos/icewind1991/SMB/zipball/80921d69f5e47157c825f0bdac6c838fe0b901b2",
"reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2",
"shasum": ""
},
"require": {
Expand All @@ -22,7 +22,7 @@
"friendsofphp/php-cs-fixer": "^2.13",
"phpunit/phpunit": "^7.0"
},
"time": "2020-05-11T14:12:35+00:00",
"time": "2020-05-27T13:56:04+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down
7 changes: 7 additions & 0 deletions apps/files_external/3rdparty/icewind/smb/src/IShare.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,4 +150,11 @@ public function setMode($path, $mode);
* @return INotifyHandler
*/
public function notify($path);

/**
* Get the IServer instance for this share
*
* @return IServer
*/
public function getServer(): IServer;
}
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function isReadOnly() {
public function isHidden() {
$mode = $this->getMode();
if ($mode > 0x80) {
return $this->name[0] === '.';
return strlen($this->name) > 0 && $this->name[0] === '.';
} else {
return (bool)($mode & IFileInfo::MODE_HIDDEN);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,10 @@ public function notify($path) {
return $share->notify($path);
}

public function getServer(): IServer {
return $this->server;
}

public function __destruct() {
unset($this->state);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@ protected function getAcls($path) {
return $acls;
}

public function getServer(): IServer {
return $this->server;
}

public function __destruct() {
unset($this->connection);
}
Expand Down