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
|
|
@ -101,7 +101,7 @@ class NativeShare implements IShare {
|
|||
* @return \Icewind\SMB\IFileInfo[]
|
||||
*/
|
||||
public function stat($path) {
|
||||
return new NativeFileInfo($this, $path, basename($path));
|
||||
return new NativeFileInfo($this, $path, basename($path), $this->getStat($path));
|
||||
}
|
||||
|
||||
public function getStat($path) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue