xray16 1.2.2 → 1.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/types/xr_lib/xr_fs.d.ts +26 -26
package/package.json
CHANGED
package/types/xr_lib/xr_fs.d.ts
CHANGED
|
@@ -72,45 +72,41 @@ declare module "xray16" {
|
|
|
72
72
|
public static FS_sort_by_size_down: 3;
|
|
73
73
|
public static FS_sort_by_size_up: 2;
|
|
74
74
|
|
|
75
|
-
public
|
|
75
|
+
public dir_delete(path: string, filename: string, remove_files: boolean): void;
|
|
76
76
|
|
|
77
|
-
public dir_delete(
|
|
77
|
+
public dir_delete(path: string, remove_files: boolean): void;
|
|
78
78
|
|
|
79
|
-
public
|
|
79
|
+
public file_list_open(alias: string, folder: string, flags: u32): FS_file_list;
|
|
80
80
|
|
|
81
|
-
public
|
|
81
|
+
public file_list_open(path: string, flags: u32): FS_file_list;
|
|
82
82
|
|
|
83
|
-
public
|
|
83
|
+
public file_list_open_ex(path: string, flags: u32, mask: string): FS_file_list_ex;
|
|
84
84
|
|
|
85
|
-
public
|
|
86
|
-
|
|
87
|
-
public file_copy(a: string, b: string): void;
|
|
85
|
+
public file_copy(source: string, destination: string): void;
|
|
88
86
|
|
|
89
|
-
public file_length(
|
|
87
|
+
public file_length(path: string): i32;
|
|
90
88
|
|
|
91
|
-
public
|
|
89
|
+
public file_rename(path: string, destination: string, overwrite: boolean): void;
|
|
92
90
|
|
|
93
|
-
public
|
|
91
|
+
public get_file_age(path: string): u32;
|
|
94
92
|
|
|
95
|
-
public
|
|
93
|
+
public get_file_age_str(path: string): u32;
|
|
96
94
|
|
|
97
|
-
public
|
|
95
|
+
public file_delete(path: string, filename: string): void;
|
|
98
96
|
|
|
99
|
-
public
|
|
97
|
+
public file_delete(path: string): void;
|
|
100
98
|
|
|
101
|
-
public
|
|
99
|
+
public exist(alias: string, filename: string, fs_type: TXR_fs_type): i32 | null;
|
|
102
100
|
|
|
103
|
-
public
|
|
101
|
+
public exist(alias: string, filename: string): i32 | null;
|
|
104
102
|
|
|
105
|
-
public
|
|
106
|
-
|
|
107
|
-
public r_open(a: string): reader;
|
|
103
|
+
public exist(path: string): i32 | null;
|
|
108
104
|
|
|
109
|
-
public
|
|
105
|
+
public append_path(alias: string, root: string, path: string, recursive: boolean): unknown /* FS_Path */;
|
|
110
106
|
|
|
111
|
-
public
|
|
107
|
+
public path_exist(path: string): boolean;
|
|
112
108
|
|
|
113
|
-
public
|
|
109
|
+
public update_path(alias: string, add: string): string;
|
|
114
110
|
|
|
115
111
|
public rescan_path(path: string): void;
|
|
116
112
|
|
|
@@ -119,13 +115,17 @@ declare module "xray16" {
|
|
|
119
115
|
*/
|
|
120
116
|
public get_path(alias: string): unknown;
|
|
121
117
|
|
|
122
|
-
public
|
|
118
|
+
public r_close(reader: reader): void;
|
|
119
|
+
|
|
120
|
+
public r_open(path: string): reader;
|
|
123
121
|
|
|
124
|
-
public
|
|
122
|
+
public r_open(alias: string, path: string): reader;
|
|
123
|
+
|
|
124
|
+
public w_close(writer: unknown /* IWriter */): void;
|
|
125
125
|
|
|
126
|
-
public w_open(
|
|
126
|
+
public w_open(path: string, filename: string): unknown /* IWriter */;
|
|
127
127
|
|
|
128
|
-
public w_open(
|
|
128
|
+
public w_open(path: string): unknown /* IWriter */;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
131
|
/**
|