Changes

Jump to navigation Jump to search
1,796 bytes added ,  13:47, 11 June 2013
|-
| '''Summary'''
|Recursively creates Creates the directories directory specified by {{Code|$dir}}, including all non-existing parent directories.<br />
|-
| '''Errors'''
|{{Error|FILE0002|#Errors}} a file with the same path already exists.<br />{{Error|FILE9999|#Errors}} the operation fails for some other reason.<br />
|}
 
==file:create-temp-dir==
 
{{Mark|Introduced with Version 7.7:}}
 
{| width='100%'
|-
| width='90' | '''Signatures'''
|{{Func|file:create-temp-dir|$prefix as xs:string, $suffix as xs:string|xs:string}}<br />{{Func|file:create-temp-dir|$prefix as xs:string, $suffix as xs:string, $dir as xs:string|xs:string}}
|-
| '''Summary'''
|Creates a new temporary directory that did not exist before this function was called, and returns its full file path. The directory name begins and ends with the specified {{Code|$prefix}} and {{Code|$suffix}}. If no directory is specified via {{Code|$dir}}, the directory will be placed in the system’s default temporary directory. The operation will create all non-existing parent directories.
|-
| '''Errors'''
|{{Error|FILE0003|#Errors}} the specified directory points to a file.<br />{{Error|FILE9999|#Errors}} the directory could not be created.
|}
 
==file:create-temp-file==
 
{{Mark|Introduced with Version 7.7:}}
 
{| width='100%'
|-
| width='90' | '''Signatures'''
|{{Func|file:create-temp-file|$prefix as xs:string, $suffix as xs:string|xs:string}}<br />{{Func|file:create-temp-file|$prefix as xs:string, $suffix as xs:string, $dir as xs:string|xs:string}}
|-
| '''Summary'''
|Creates a new temporary file that did not exist before this function was called, and returns its full file path. The file name begins and ends with the specified {{Code|$prefix}} and {{Code|$suffix}}. If no directory is specified via {{Code|$dir}}, the directory will be placed in the system’s default temporary directory. The operation will create all non-existing parent directories.
|-
| '''Errors'''
|{{Error|FILE0003|#Errors}} the specified directory points to a file.<br />{{Error|FILE9999|#Errors}} the directory could not be created.
|}
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu