Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Include Page | ||||
---|---|---|---|---|
|
Description
Excerpt |
---|
This function lists files on your server as a nested directory tree. |
Include Page | ||||
---|---|---|---|---|
|
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
|
Parameters
This function does not accept parameters.
Returns
Return | Type | Description | Possible values | Example | |||||
---|---|---|---|---|---|---|---|---|---|
owner | string | The object's owner. | A valid string. | example | |||||
usage | integer | The object's size. | A positive integer which represents the object's size, measured in bytes. | 100000 | |||||
name | string | The object's name. | A valid string. | logs | |||||
contents | integer | The number of file objects that this file object contains. | A non-negative integer. | 3 | |||||
user_contained_usage | integer | The object's size | A positive integer which represents the object's size, measured in bytes. | 100000 | |||||
contained_usage | integer | The total size of the file objects that this file object contains. | A positive integer which represents the size of the contained file objects, measured in bytes. | 100000 | |||||
type | string | The object's type. |
| dir | |||||
traversible | Boolean | Whether a user or script can traverse the file object. |
| 1 | |||||
reason | string | A reason for failure.
| A string that describes the error. | This is an error message. | |||||
result | Boolean | Whether the function succeeded. |
| 1 |
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function information
About this moduleThe DiskCounter module lists files on your server.About cPanel API 2
Find a function
Livesearch |
Related functions
|
HideElements | ||
---|---|---|
|