-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
22 additions
and
19 deletions.
There are no files selected for viewing
8 changes: 5 additions & 3 deletions
8
docs/03.reference/01.functions/directorylist/_arguments/filter.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Filter to be used to filter the results: | ||
Specifies a filter to be used to filter the results: | ||
|
||
* A string that uses "*" as a wildcard, for example, "*.cfm" | ||
* a UDF (User defined Function) with signature `Boolean function(String path)`. The function is run for each file in turn; if the function returns `true`, then the file is will be added to the result; otherwise it will be omitted. | ||
- A string that uses `*` as a wildcard, for example, `*.cfm` | ||
- UDF (User Defined Function) using the following pattern: `boolean function(String path, String type, String ext)`. The function is run for every single file; if the function returns `true`, the file is included in the list; otherwise, it is omitted. `Type` is either `File` or `Directory` | ||
|
||
`Type` and `Ext` arguments were added in Lucee 6.0 |
8 changes: 5 additions & 3 deletions
8
docs/03.reference/01.functions/directorylist/_arguments/listInfo.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
- name: returns an array of names of files and directories. | ||
- path: returns an array of paths of files and directories. This is the default. | ||
- query: returns a query. | ||
Defines the return type of this function: | ||
|
||
- `name`: returns an array of names of files and directories. | ||
- `path`: returns an array of paths of files and directories. This is the default. | ||
- `query`: returns a query object. |
2 changes: 1 addition & 1 deletion
2
docs/03.reference/01.functions/directorylist/_arguments/path.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
The absolute path of the directory to list the content from. | ||
|
||
Alternatively, you can specify IP address as in the following example: DirectoryList(\"//12.3.123.123/c_drive/test\");. | ||
This can be any type of supported [[virtual-file-system]] |
4 changes: 2 additions & 2 deletions
4
docs/03.reference/01.functions/directorylist/_arguments/recurse.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Whether Lucee performs the action on sub-directories: | ||
Specifies whether to include subdirectories in the listing. | ||
|
||
If true, the contents of all sub-directories are also included. | ||
If `true`, the content of all sub-directories is also included. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
docs/03.reference/01.functions/directorylist/_arguments/type.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
type of the result returned: | ||
|
||
- file: includes only filenames | ||
- dir: includes only directory names | ||
- all: includes both filenames and directory names | ||
- `file`: includes only filenames | ||
- `dir`: includes only directory names | ||
- `all`: includes both filenames and directory names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
For ACF compatibility, on Unix systems, the `mode` column is currently not populated | ||
|
||
<https://luceeserver.atlassian.net/browse/LDEV-2118> | ||
The Unix `mode` column was not populated prior to Lucee 6.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters