=Variables=
==$file:directorydir-separator==
{|
|-
| width='90' | '''Signatures'''
|{{Code|'''$file:directorydir-separator''' as xs:string}}<br />
|-
| '''Summary'''
|}
==file:is-directorydir==
{|
|-
| width='90' | '''Signatures'''
|{{Func|file:is-directorydir|$path as xs:string|xs:boolean}}<br />
|-
| '''Summary'''
|-
| width='90' | '''Signatures'''
|{{Func|file:list|$directory dir as xs:string|xs:string*}}<br />{{Func|file:list|$directory dir as xs:string, $recursive as xs:boolean|xs:string*}}<br />{{Func|file:list|$directory dir as xs:string, $recursive as xs:boolean, $pattern as xs:string|xs:string*}}<br />
|-
| '''Summary'''
|Lists all files and directories found in the specified {{Code|$directorydir}}. The returned paths are relative to the provided path.<br />The optional parameter {{Code|$recursive}} specifies whether sub-directories will be traversed, too.<br />The optional parameter {{Code|$pattern}} defines a file name pattern in the [http://en.wikipedia.org/wiki/Glob_(programming) glob syntax]. If present, only those files and directories are returned that correspond to the pattern. Several patterns can be separated with a comma ({{Code|,}}).<br />
|-
| '''Errors'''
|}
==file:create-directorydir==
{|
|-
| width='90' | '''Signatures'''
|{{Func|file:create-directorydir|$directory dir as xs:string|empty-sequence()}}<br />
|-
| '''Summary'''
|Recursively creates the directories specified by {{Code|$directorydir}}.<br />
|-
| '''Errors'''