},
"require": {
"icewind/streams": "0.7.1",
- "icewind/smb": "^3.2.4"
+ "icewind/smb": "^3.2.5"
}
}
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
- "content-hash": "ab745d51b0d201a3c3d3f78e5cb865c1",
+ "content-hash": "ceae723174e6d71cdd0c12ee6cb758a4",
"packages": [
{
"name": "icewind/smb",
- "version": "v3.2.4",
+ "version": "v3.2.5",
"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": {
}
],
"description": "php wrapper for smbclient and libsmbclient-php",
- "time": "2020-05-11T14:12:35+00:00"
+ "time": "2020-05-27T13:56:04+00:00"
},
{
"name": "icewind/streams",
[
{
"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": {
"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": {
* @return INotifyHandler
*/
public function notify($path);
+
+ /**
+ * Get the IServer instance for this share
+ *
+ * @return IServer
+ */
+ public function getServer(): IServer;
}
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);
}
return $share->notify($path);
}
+ public function getServer(): IServer {
+ return $this->server;
+ }
+
public function __destruct() {
unset($this->state);
}
return $acls;
}
+ public function getServer(): IServer {
+ return $this->server;
+ }
+
public function __destruct() {
unset($this->connection);
}