Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jan 16, 2025
1 parent 8059035 commit 06e2359
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 19 deletions.
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
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.
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]]
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.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Sorting is case sensitive.

To qualify a column, use one of the following values:

- asc: ascending (a to z) sort order.
- desc: descending (z to a) sort order.
- `asc`: ascending (a to z) sort order. Default
- `desc`: descending (z to a) sort order.
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
4 changes: 1 addition & 3 deletions docs/03.reference/01.functions/directorylist/_usageNotes.md
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
5 changes: 3 additions & 2 deletions docs/03.reference/01.functions/gethttprequestdata/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
title: GetHTTPRequestData
id: function-gethttprequestdata
related:
categories:
- function-gethttprequestheaders
- function-getpagecontext
---

Makes HTTP request headers and body available to CFML pages.
Useful for capturing SOAP request data, which can be delivered
in an HTTP header.
in an HTTP header.

0 comments on commit 06e2359

Please sign in to comment.