File Utilities: Difference between revisions
Appearance
Created page with "File and directory management functions. {| border="1" |- !Entity !Type !Scope !Short Description |- |chdrivedir |function |public | Change current default drive and wo..." |
No edit summary |
||
Line 8: | Line 8: | ||
!Short Description | !Short Description | ||
|- | |- | ||
| | |chdrivedir | ||
|function | |function | ||
|public | |public | ||
Line 14: | Line 14: | ||
|- | |- | ||
| | |is_dir | ||
|function | |function | ||
|public | |public | ||
Line 20: | Line 20: | ||
|- | |- | ||
| | |is_file | ||
|function | |function | ||
|public | |public | ||
Line 26: | Line 26: | ||
|- | |- | ||
| | |is_root | ||
|function | |function | ||
|public | |public | ||
Line 32: | Line 32: | ||
|- | |- | ||
| | |is_url | ||
|function | |function | ||
|public | |public | ||
Line 38: | Line 38: | ||
|- | |- | ||
| | |scheme | ||
|function | |function | ||
|public | |public | ||
Line 44: | Line 44: | ||
|- | |- | ||
| | |sdecode | ||
|function | |function | ||
|public | |public | ||
Line 50: | Line 50: | ||
|- | |- | ||
| | |sdrive | ||
|function | |function | ||
|public | |public | ||
Line 57: | Line 57: | ||
|- | |- | ||
| | |sdrivedir | ||
|function | |function | ||
|public | |public | ||
Line 63: | Line 63: | ||
|- | |- | ||
| | |sfext | ||
|function | |function | ||
|public | |public | ||
Line 69: | Line 69: | ||
|- | |- | ||
| | |sfextrep | ||
|function | |function | ||
|public | |public | ||
Line 75: | Line 75: | ||
|- | |- | ||
| | |sfname | ||
|function | |function | ||
|public | |public | ||
Line 81: | Line 81: | ||
|- | |- | ||
| | |sfnameext | ||
|function | |function | ||
|public | |public | ||
Line 87: | Line 87: | ||
|- | |- | ||
| | |smakepath | ||
|function | |function | ||
|public | |public |
Revision as of 00:51, 16 March 2018
File and directory management functions.
Entity | Type | Scope | Short Description |
---|---|---|---|
chdrivedir | function | public | Change current default drive and working directory. |
is_dir | function | public | Returns TRUE if the specified location is a directory. |
is_file | function | public | Returns TRUE if the specified location is a regular file. |
is_root | function | public | Returns TRUE if the specified location is a root directory. |
is_url | function | public | Returns TRUE if the specified location is a URL. |
scheme | function | public | Returns the scheme followed by a colon (:) of the specified location. |
sdecode | function | public | Passed any string value, decode from URL transmission. |
sdrive | function | public | Returns the drive letter followed by a colon (:)
if a drive is specified in the location. |
sdrivedir | function | public | Returns the drive letter or scheme and the path of subdirectories, if any, including the trailing slash. |
sfext | function | public | Returns the file name extension, if any, including the leading period (.). |
sfextrep | function | public | Replaces an extension of the specified file. |
sfname | function | public | Returns the base file name without any extensions. |
sfnameext | function | public | Returns the base file name with file extension. |
smakepath | function | public | Creates a single path name, composed of a base path name and file
or directory name. |