mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
use stat instead of attributes
This commit is contained in:
parent
e0e86b1664
commit
89082b2b29
3 changed files with 16 additions and 28 deletions
|
|
@ -116,6 +116,13 @@ class NativeShare extends AbstractShare {
|
|||
return $info;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array{"mode": int, "size": int, "mtime": int}
|
||||
*/
|
||||
public function rawStat(string $path): array {
|
||||
return $this->getState()->stat($this->buildUrl($path));
|
||||
}
|
||||
|
||||
/**
|
||||
* Multibyte unicode safe version of basename()
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue