mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
Better phpdoc for Share::dir
This commit is contained in:
parent
f34ba01f56
commit
46c122d6c1
1 changed files with 11 additions and 1 deletions
|
|
@ -71,8 +71,18 @@ class Share {
|
||||||
/**
|
/**
|
||||||
* List the content of a remote folder
|
* List the content of a remote folder
|
||||||
*
|
*
|
||||||
|
* Returns a nested array in the format of
|
||||||
|
* [
|
||||||
|
* $name => [
|
||||||
|
* 'size' => $size,
|
||||||
|
* 'type' => $type,
|
||||||
|
* 'time' => $mtime
|
||||||
|
* ],
|
||||||
|
* ...
|
||||||
|
* ]
|
||||||
|
*
|
||||||
* @param $path
|
* @param $path
|
||||||
* @return array
|
* @return array[]
|
||||||
*/
|
*/
|
||||||
public function dir($path) {
|
public function dir($path) {
|
||||||
$path = $this->escapePath($path);
|
$path = $this->escapePath($path);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue