mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Add negative tests for stat and rename
This commit is contained in:
parent
125bc445f7
commit
9068418528
3 changed files with 28 additions and 2 deletions
|
|
@ -39,11 +39,13 @@ class NativeFileInfo implements IFileInfo {
|
|||
* @param \Icewind\SMB\NativeShare $share
|
||||
* @param string $path
|
||||
* @param string $name
|
||||
* @param array $stat
|
||||
*/
|
||||
public function __construct($share, $path, $name) {
|
||||
public function __construct($share, $path, $name, $stat = null) {
|
||||
$this->share = $share;
|
||||
$this->path = $path;
|
||||
$this->name = $name;
|
||||
$this->statCache = $stat;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue