Constructors
Properties
Static
FS_ClampExt
FS_ClampExt: 4
Static
FS_ListFiles
FS_ListFiles: 1
Static
FS_ListFolders
FS_ListFolders: 2
Static
FS_RootOnly
FS_RootOnly: 8
Static
FS_sort_by_modif_down
FS_sort_by_modif_down: 5
Static
FS_sort_by_modif_up
FS_sort_by_modif_up: 4
Static
FS_sort_by_name_down
FS_sort_by_name_down: 1
Static
FS_sort_by_name_up
FS_sort_by_name_up: 0
Static
FS_sort_by_size_down
FS_sort_by_size_down: 3
Static
FS_sort_by_size_up
FS_sort_by_size_up: 2
Methods
append_path
- append_path(
alias: string,
root: string,
path: string,
recursive: boolean,
): unknown Parameters
- alias: string
- root: string
- path: string
- recursive: boolean
Returns unknown
dir_delete
- dir_delete(path: string, filename: string, remove_files: boolean): void
Parameters
- path: string
- filename: string
- remove_files: boolean
Returns void
- dir_delete(path: string, remove_files: boolean): void
Parameters
- path: string
- remove_files: boolean
Returns void
exist
- exist(alias: string, filename: string, fs_type: TXR_fs_type): number
Returns number
- exist(alias: string, filename: string): number
Parameters
- alias: string
- filename: string
Returns number
- exist(path: string): number
Returns number
file_copy
- file_copy(source: string, destination: string): void
Parameters
- source: string
- destination: string
Returns void
file_delete
- file_delete(path: string, filename: string): void
Parameters
- path: string
- filename: string
Returns void
- file_delete(path: string): void
Returns void
file_length
- file_length(path: string): number
Returns number
file_list_open
- file_list_open(alias: string, folder: string, flags: number): FS_file_list
Parameters
- alias: string
- folder: string
- flags: number
- file_list_open(path: string, flags: number): FS_file_list
Parameters
- path: string
- flags: number
file_list_open_ex
- file_list_open_ex(path: string, flags: number, mask: string): FS_file_list_ex
Parameters
- path: string
- flags: number
- mask: string
file_rename
- file_rename(path: string, destination: string, overwrite: boolean): void
Parameters
- path: string
- destination: string
- overwrite: boolean
Returns void
get_file_age
- get_file_age(path: string): number
Returns number
get_file_age_str
- get_file_age_str(path: string): number
Returns number
get_path
- get_path(alias: string): unknown
Returns unknown
path_exist
- path_exist(path: string): boolean
Returns boolean
r_close
- r_close(reader: reader): void
Returns void
r_open
- r_open(path: string): reader
- r_open(alias: string, path: string): reader
Parameters
- alias: string
- path: string
rescan_path
- rescan_path(path: string): void
Returns void
update_path
- update_path(alias: string, add: string): string
Returns string
w_close
- w_close(writer: unknown): void
Returns void
w_open
- w_open(path: string, filename: string): unknown
Parameters
- path: string
- filename: string
Returns unknown
- w_open(path: string): unknown
Returns unknown
Source
C++ class FS
Custom Constructor
FS