Skip to content

Commit 2a42dd7

Browse files
icewind1991backportbot[bot]
authored andcommitted
update icewind/smb to 3.2.5
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 parent 3658cdf commit 2a42dd7

File tree

6 files changed

+27
-12
lines changed

6 files changed

+27
-12
lines changed

apps/files_external/3rdparty/composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/files_external/3rdparty/composer/installed.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
[
22
{
33
"name": "icewind/smb",
4-
"version": "v3.2.4",
5-
"version_normalized": "3.2.4.0",
4+
"version": "v3.2.5",
5+
"version_normalized": "3.2.5.0",
66
"source": {
77
"type": "git",
88
"url": "https://github.com/icewind1991/SMB.git",
9-
"reference": "999d6687ca9d4ac2600185c935b45206e47e604a"
9+
"reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2"
1010
},
1111
"dist": {
1212
"type": "zip",
13-
"url": "https://api.github.com/repos/icewind1991/SMB/zipball/999d6687ca9d4ac2600185c935b45206e47e604a",
14-
"reference": "999d6687ca9d4ac2600185c935b45206e47e604a",
13+
"url": "https://api.github.com/repos/icewind1991/SMB/zipball/80921d69f5e47157c825f0bdac6c838fe0b901b2",
14+
"reference": "80921d69f5e47157c825f0bdac6c838fe0b901b2",
1515
"shasum": ""
1616
},
1717
"require": {
@@ -22,7 +22,7 @@
2222
"friendsofphp/php-cs-fixer": "^2.13",
2323
"phpunit/phpunit": "^7.0"
2424
},
25-
"time": "2020-05-11T14:12:35+00:00",
25+
"time": "2020-05-27T13:56:04+00:00",
2626
"type": "library",
2727
"installation-source": "dist",
2828
"autoload": {

apps/files_external/3rdparty/icewind/smb/src/IShare.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,11 @@ public function setMode($path, $mode);
150150
* @return INotifyHandler
151151
*/
152152
public function notify($path);
153+
154+
/**
155+
* Get the IServer instance for this share
156+
*
157+
* @return IServer
158+
*/
159+
public function getServer(): IServer;
153160
}

apps/files_external/3rdparty/icewind/smb/src/Native/NativeFileInfo.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function isReadOnly() {
141141
public function isHidden() {
142142
$mode = $this->getMode();
143143
if ($mode > 0x80) {
144-
return $this->name[0] === '.';
144+
return strlen($this->name) > 0 && $this->name[0] === '.';
145145
} else {
146146
return (bool)($mode & IFileInfo::MODE_HIDDEN);
147147
}

apps/files_external/3rdparty/icewind/smb/src/Native/NativeShare.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,10 @@ public function notify($path) {
350350
return $share->notify($path);
351351
}
352352

353+
public function getServer(): IServer {
354+
return $this->server;
355+
}
356+
353357
public function __destruct() {
354358
unset($this->state);
355359
}

apps/files_external/3rdparty/icewind/smb/src/Wrapped/Share.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,10 @@ protected function getAcls($path) {
552552
return $acls;
553553
}
554554

555+
public function getServer(): IServer {
556+
return $this->server;
557+
}
558+
555559
public function __destruct() {
556560
unset($this->connection);
557561
}

0 commit comments

Comments
 (0)