Changes

Jump to navigation Jump to search
775 bytes added ,  13:51, 24 September 2019
no edit summary
! Function
! Description
|- valign="top"
| [[#file:descendants|file:descendants]]
| new function (since {{Version|9.3}})
|- valign="top"
| [[#file:is-absolute|file:is-absolute]]
| '''Summary'''
|Returns the full paths to all files and directories found in the specified {{Code|$dir}}.<br/>The inverse function is [[#file:parent|file:parent]]. The related function [[#file:list|file:list]] returns relative file paths.
|-
| '''Errors'''
|{{Error|not-found|#Errors}} the specified file does not exist.<br />{{Error|no-dir|#Errors}} the specified path does not point to a directory.<br />{{Error|io-error|#Errors}} the operation fails for some other reason.<br />
|}
 
==file:descendants==
 
{{Mark|Introduced with Version 9.3:}}
 
{| width='100%'
|-
| width='120' | '''Signatures'''
|{{Func|file:descendants|$dir as xs:string|xs:string*}}
|-
| '''Summary'''
|Returns the full paths to all files and directories found in the specified {{Code|$dir}} and its sub-directories.<br/>. The related function [[#file:list|file:list]] returns relative file paths.
|-
| '''Errors'''
;Version 9.0
* Added: [[#file:descendants|file:descendants]]
* Updated: [[#file:read-text-lines|file:read-text-lines]]: <code>$offset</code> and <code>$length</code> arguments added.
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu