All Bundles
Directory
Provide file directory operations
Operations
Copy
Copies a directory
function : Copy(s:System.String, d:System.String) ~ Bool
Parameters
Name | Type | Description |
---|
s | String | source directory |
d | String | destination directory |
Return
Type | Description |
---|
Bool | true if file was copied |
Copies a directory
function : Copy(s:System.String, d:System.String, r:Bool) ~ Bool
Parameters
Name | Type | Description |
---|
s | String | source directory |
d | String | destination directory |
r | Bool | recursive copy |
Return
Type | Description |
---|
Bool | true if file was copied |
Create
Creates a directory
function : Create(n:System.String) ~ Bool
Parameters
Name | Type | Description |
---|
n | String | directory name |
Return
Type | Description |
---|
Bool | true if directory was created |
CreatePath
Creates a directory path
function : CreatePath(n:String) ~ Bool
Parameters
Name | Type | Description |
---|
n | String | directory path name |
Return
Type | Description |
---|
Bool | true if directory path was created |
Exists
Checks to see if the given directory exists
function : Exists(n:System.String) ~ Bool
Parameters
Name | Type | Description |
---|
n | String | directory name |
Return
Type | Description |
---|
Bool | true if directory exists |
GetInstall
Returns the installation directory
function : GetInstall() ~ String
Return
Type | Description |
---|
String | installation directory |
GetSlash
Gets the native directory slash
function : GetSlash() ~ Char
Return
Type | Description |
---|
Char | native directory slash |
GetTemp
Returns the system's temporary directory
function : GetTemp() ~ String
Return
Type | Description |
---|
String | system's temporary directory |
GetUser
Returns the current user's working directory
function : GetUser() ~ String
Return
Type | Description |
---|
String | current user's working directory |
List
List of directory content
function : List(n:System.String) ~ System.String[]
Parameters
Name | Type | Description |
---|
n | String | directory name |
Return
Type | Description |
---|
String[] | list of directory content |
Rename
Renames a directory
function : Rename(o:System.String, n:System.String) ~ Bool
Parameters
Name | Type | Description |
---|
o | String | original directory |
n | String | new directory |
Return
Type | Description |
---|
Bool | true if directory was renamed |