1Gnome2::VFS::Async(3) User Contributed Perl DocumentationGnome2::VFS::Async(3)
2
3
4

NAME

6       Gnome2::VFS::Async
7

METHODS

9   handle = Gnome2::VFS::Async->create ($text_uri, $open_mode, $exclusive,
10       $perm, $priority, $func, $data=undef)
11       •   $text_uri (string)
12
13       •   $open_mode (Gnome2::VFS::OpenMode)
14
15       •   $exclusive (boolean)
16
17       •   $perm (integer)
18
19       •   $priority (integer)
20
21       •   $func (scalar)
22
23       •   $data (scalar)
24
25   handle = Gnome2::VFS::Async->create_symbolic_link ($uri, $uri_reference,
26       $priority, $func, $data=undef)
27       •   $uri (Gnome2::VFS::URI)
28
29       •   $uri_reference (string)
30
31       •   $priority (integer)
32
33       •   $func (scalar)
34
35       •   $data (scalar)
36
37   handle = Gnome2::VFS::Async->create_uri ($uri, $open_mode, $exclusive,
38       $perm, $priority, $func, $data=undef)
39       •   $uri (Gnome2::VFS::URI)
40
41       •   $open_mode (Gnome2::VFS::OpenMode)
42
43       •   $exclusive (boolean)
44
45       •   $perm (integer)
46
47       •   $priority (integer)
48
49       •   $func (scalar)
50
51       •   $data (scalar)
52
53   handle = Gnome2::VFS::Async->get_file_info ($uri_ref, $options, $priority,
54       $func, $data=undef)
55       •   $uri_ref (scalar)
56
57       •   $options (Gnome2::VFS::FileInfoOptions)
58
59       •   $priority (integer)
60
61       •   $func (scalar)
62
63       •   $data (scalar)
64
65   handle = Gnome2::VFS::Async->set_file_info ($uri, $info, $mask, $options,
66       $priority, $func, $data=undef)
67       •   $uri (Gnome2::VFS::URI)
68
69       •   $info (Gnome2::VFS::FileInfo)
70
71       •   $mask (Gnome2::VFS::SetFileInfoMask)
72
73       •   $options (Gnome2::VFS::FileInfoOptions)
74
75       •   $priority (integer)
76
77       •   $func (scalar)
78
79       •   $data (scalar)
80
81   handle = Gnome2::VFS::Async->find_directory ($near_ref, $kind,
82       $create_if_needed, $find_if_needed, $permissions, $priority, $func,
83       $data=undef)
84       •   $near_ref (scalar)
85
86       •   $kind (Gnome2::VFS::FindDirectoryKind)
87
88       •   $create_if_needed (boolean)
89
90       •   $find_if_needed (boolean)
91
92       •   $permissions (integer)
93
94       •   $priority (integer)
95
96       •   $func (scalar)
97
98       •   $data (scalar)
99
100   integer = Gnome2::VFS::Async->get_job_limit
101   Gnome2::VFS::Async->set_job_limit ($limit)
102       •   $limit (integer)
103
104   handle = Gnome2::VFS::Async->load_directory ($text_uri, $options,
105       $items_per_notification, $priority, $func, $data=undef)
106       •   $text_uri (string)
107
108       •   $options (Gnome2::VFS::FileInfoOptions)
109
110       •   $items_per_notification (integer)
111
112       •   $priority (integer)
113
114       •   $func (scalar)
115
116       •   $data (scalar)
117
118   handle = Gnome2::VFS::Async->load_directory_uri ($uri, $options,
119       $items_per_notification, $priority, $func, $data=undef)
120       •   $uri (Gnome2::VFS::URI)
121
122       •   $options (Gnome2::VFS::FileInfoOptions)
123
124       •   $items_per_notification (integer)
125
126       •   $priority (integer)
127
128       •   $func (scalar)
129
130       •   $data (scalar)
131
132   handle = Gnome2::VFS::Async->open ($text_uri, $open_mode, $priority, $func,
133       $data=undef)
134       •   $text_uri (string)
135
136       •   $open_mode (Gnome2::VFS::OpenMode)
137
138       •   $priority (integer)
139
140       •   $func (scalar)
141
142       •   $data (scalar)
143
144   handle = Gnome2::VFS::Async->open_uri ($uri, $open_mode, $priority, $func,
145       $data=undef)
146       •   $uri (Gnome2::VFS::URI)
147
148       •   $open_mode (Gnome2::VFS::OpenMode)
149
150       •   $priority (integer)
151
152       •   $func (scalar)
153
154       •   $data (scalar)
155
156   list = Gnome2::VFS::Async->xfer ($source_ref, $target_ref, $xfer_options,
157       $error_mode, $overwrite_mode, $priority, $func_update, $data_update,
158       $func_sync, $data_sync=undef)
159       •   $source_ref (scalar)
160
161       •   $target_ref (scalar)
162
163       •   $xfer_options (Gnome2::VFS::XferOptions)
164
165       •   $error_mode (Gnome2::VFS::XferErrorMode)
166
167       •   $overwrite_mode (Gnome2::VFS::XferOverwriteMode)
168
169       •   $priority (integer)
170
171       •   $func_update (scalar)
172
173       •   $data_update (scalar)
174
175       •   $func_sync (scalar)
176
177       •   $data_sync (scalar)
178
179       Returns a GnomeVFSResult and a GnomeVFSAsyncHandle.
180

ENUMS AND FLAGS

182   flags Gnome2::VFS::FileInfoOptions
183       •   'default' / 'GNOME_VFS_FILE_INFO_DEFAULT'
184
185       •   'get-mime-type' / 'GNOME_VFS_FILE_INFO_GET_MIME_TYPE'
186
187       •   'force-fast-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE'
188
189       •   'force-slow-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE'
190
191       •   'follow-links' / 'GNOME_VFS_FILE_INFO_FOLLOW_LINKS'
192
193       •   'get-access-rights' / 'GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS'
194
195       •   'name-only' / 'GNOME_VFS_FILE_INFO_NAME_ONLY'
196
197       •   'get-acl' / 'GNOME_VFS_FILE_INFO_GET_ACL'
198
199       •   'get-selinux-context' / 'GNOME_VFS_FILE_INFO_GET_SELINUX_CONTEXT'
200
201   enum Gnome2::VFS::FindDirectoryKind
202       •   'desktop' / 'GNOME_VFS_DIRECTORY_KIND_DESKTOP'
203
204       •   'trash' / 'GNOME_VFS_DIRECTORY_KIND_TRASH'
205
206   flags Gnome2::VFS::OpenMode
207       •   'none' / 'GNOME_VFS_OPEN_NONE'
208
209       •   'read' / 'GNOME_VFS_OPEN_READ'
210
211       •   'write' / 'GNOME_VFS_OPEN_WRITE'
212
213       •   'random' / 'GNOME_VFS_OPEN_RANDOM'
214
215       •   'truncate' / 'GNOME_VFS_OPEN_TRUNCATE'
216
217   flags Gnome2::VFS::SetFileInfoMask
218       •   'none' / 'GNOME_VFS_SET_FILE_INFO_NONE'
219
220       •   'name' / 'GNOME_VFS_SET_FILE_INFO_NAME'
221
222       •   'permissions' / 'GNOME_VFS_SET_FILE_INFO_PERMISSIONS'
223
224       •   'owner' / 'GNOME_VFS_SET_FILE_INFO_OWNER'
225
226       •   'time' / 'GNOME_VFS_SET_FILE_INFO_TIME'
227
228       •   'acl' / 'GNOME_VFS_SET_FILE_INFO_ACL'
229
230       •   'selinux-context' / 'GNOME_VFS_SET_FILE_INFO_SELINUX_CONTEXT'
231
232       •   'symlink-name' / 'GNOME_VFS_SET_FILE_INFO_SYMLINK_NAME'
233
234   enum Gnome2::VFS::XferErrorMode
235       •   'abort' / 'GNOME_VFS_XFER_ERROR_MODE_ABORT'
236
237       •   'query' / 'GNOME_VFS_XFER_ERROR_MODE_QUERY'
238
239   flags Gnome2::VFS::XferOptions
240       •   'default' / 'GNOME_VFS_XFER_DEFAULT'
241
242       •   'unused-1' / 'GNOME_VFS_XFER_UNUSED_1'
243
244       •   'follow-links' / 'GNOME_VFS_XFER_FOLLOW_LINKS'
245
246       •   'unused-2' / 'GNOME_VFS_XFER_UNUSED_2'
247
248       •   'recursive' / 'GNOME_VFS_XFER_RECURSIVE'
249
250       •   'samefs' / 'GNOME_VFS_XFER_SAMEFS'
251
252       •   'delete-items' / 'GNOME_VFS_XFER_DELETE_ITEMS'
253
254       •   'empty-directories' / 'GNOME_VFS_XFER_EMPTY_DIRECTORIES'
255
256       •   'new-unique-directory' / 'GNOME_VFS_XFER_NEW_UNIQUE_DIRECTORY'
257
258       •   'removesource' / 'GNOME_VFS_XFER_REMOVESOURCE'
259
260       •   'use-unique-names' / 'GNOME_VFS_XFER_USE_UNIQUE_NAMES'
261
262       •   'link-items' / 'GNOME_VFS_XFER_LINK_ITEMS'
263
264       •   'follow-links-recursive' / 'GNOME_VFS_XFER_FOLLOW_LINKS_RECURSIVE'
265
266       •   'target-default-perms' / 'GNOME_VFS_XFER_TARGET_DEFAULT_PERMS'
267
268   enum Gnome2::VFS::XferOverwriteMode
269       •   'abort' / 'GNOME_VFS_XFER_OVERWRITE_MODE_ABORT'
270
271       •   'query' / 'GNOME_VFS_XFER_OVERWRITE_MODE_QUERY'
272
273       •   'replace' / 'GNOME_VFS_XFER_OVERWRITE_MODE_REPLACE'
274
275       •   'skip' / 'GNOME_VFS_XFER_OVERWRITE_MODE_SKIP'
276

SEE ALSO

278       Gnome2::VFS
279
281       Copyright (C) 2003-2007, 2013 by the gtk2-perl team.
282
283       This software is licensed under the LGPL.  See Gnome2::VFS for a full
284       notice.
285
286
287
288perl v5.34.0                      2022-01-21             Gnome2::VFS::Async(3)
Impressum