1Gnome2::VFS::Directory(U3s)er Contributed Perl DocumentatGinoonme2::VFS::Directory(3)
2
3
4
6 Gnome2::VFS::Directory
7
9 list = Gnome2::VFS::Directory->list_load ($text_uri, $options)
10 · $text_uri (string)
11
12 · $options (Gnome2::VFS::FileInfoOptions)
13
14 Returns a GnomeVFSResult and the GnomeVFSFileInfo's corresponding
15 to the directory's content.
16
17 list = Gnome2::VFS::Directory->open ($text_uri, $options)
18 · $text_uri (string)
19
20 · $options (Gnome2::VFS::FileInfoOptions)
21
22 Returns a GnomeVFSResult and a GnomeVFSDirectoryHandle.
23
24 list = Gnome2::VFS::Directory->open_from_uri ($uri, $options)
25 · $uri (Gnome2::VFS::URI)
26
27 · $options (Gnome2::VFS::FileInfoOptions)
28
29 Returns a GnomeVFSResult and a GnomeVFSDirectoryHandle.
30
31 result = Gnome2::VFS::Directory->visit ($uri, $info_options,
32 $visit_options, $func, $data=undef)
33 · $uri (string)
34
35 · $info_options (Gnome2::VFS::FileInfoOptions)
36
37 · $visit_options (Gnome2::VFS::DirectoryVisitOptions)
38
39 · $func (scalar)
40
41 · $data (scalar)
42
43 result = Gnome2::VFS::Directory->visit_files ($text_uri, $file_ref,
44 $info_options, $visit_options, $func, $data=undef)
45 · $text_uri (string)
46
47 · $file_ref (scalar)
48
49 · $info_options (Gnome2::VFS::FileInfoOptions)
50
51 · $visit_options (Gnome2::VFS::DirectoryVisitOptions)
52
53 · $func (scalar)
54
55 · $data (scalar)
56
57 result = Gnome2::VFS::Directory->visit_files_at_uri ($uri, $file_ref,
58 $info_options, $visit_options, $func, $data=undef)
59 · $uri (Gnome2::VFS::URI)
60
61 · $file_ref (scalar)
62
63 · $info_options (Gnome2::VFS::FileInfoOptions)
64
65 · $visit_options (Gnome2::VFS::DirectoryVisitOptions)
66
67 · $func (scalar)
68
69 · $data (scalar)
70
71 result = Gnome2::VFS::Directory->visit_uri ($uri, $info_options,
72 $visit_options, $func, $data=undef)
73 · $uri (Gnome2::VFS::URI)
74
75 · $info_options (Gnome2::VFS::FileInfoOptions)
76
77 · $visit_options (Gnome2::VFS::DirectoryVisitOptions)
78
79 · $func (scalar)
80
81 · $data (scalar)
82
84 flags Gnome2::VFS::DirectoryVisitOptions
85 · 'default' / 'GNOME_VFS_DIRECTORY_VISIT_DEFAULT'
86
87 · 'samefs' / 'GNOME_VFS_DIRECTORY_VISIT_SAMEFS'
88
89 · 'loopcheck' / 'GNOME_VFS_DIRECTORY_VISIT_LOOPCHECK'
90
91 · 'ignore-recurse-error' /
92 'GNOME_VFS_DIRECTORY_VISIT_IGNORE_RECURSE_ERROR'
93
94 flags Gnome2::VFS::FileInfoOptions
95 · 'default' / 'GNOME_VFS_FILE_INFO_DEFAULT'
96
97 · 'get-mime-type' / 'GNOME_VFS_FILE_INFO_GET_MIME_TYPE'
98
99 · 'force-fast-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE'
100
101 · 'force-slow-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE'
102
103 · 'follow-links' / 'GNOME_VFS_FILE_INFO_FOLLOW_LINKS'
104
105 · 'get-access-rights' / 'GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS'
106
107 · 'name-only' / 'GNOME_VFS_FILE_INFO_NAME_ONLY'
108
109 · 'get-acl' / 'GNOME_VFS_FILE_INFO_GET_ACL'
110
111 · 'get-selinux-context' / 'GNOME_VFS_FILE_INFO_GET_SELINUX_CONTEXT'
112
113 enum Gnome2::VFS::Result
114 · 'ok' / 'GNOME_VFS_OK'
115
116 · 'error-not-found' / 'GNOME_VFS_ERROR_NOT_FOUND'
117
118 · 'error-generic' / 'GNOME_VFS_ERROR_GENERIC'
119
120 · 'error-internal' / 'GNOME_VFS_ERROR_INTERNAL'
121
122 · 'error-bad-parameters' / 'GNOME_VFS_ERROR_BAD_PARAMETERS'
123
124 · 'error-not-supported' / 'GNOME_VFS_ERROR_NOT_SUPPORTED'
125
126 · 'error-io' / 'GNOME_VFS_ERROR_IO'
127
128 · 'error-corrupted-data' / 'GNOME_VFS_ERROR_CORRUPTED_DATA'
129
130 · 'error-wrong-format' / 'GNOME_VFS_ERROR_WRONG_FORMAT'
131
132 · 'error-bad-file' / 'GNOME_VFS_ERROR_BAD_FILE'
133
134 · 'error-too-big' / 'GNOME_VFS_ERROR_TOO_BIG'
135
136 · 'error-no-space' / 'GNOME_VFS_ERROR_NO_SPACE'
137
138 · 'error-read-only' / 'GNOME_VFS_ERROR_READ_ONLY'
139
140 · 'error-invalid-uri' / 'GNOME_VFS_ERROR_INVALID_URI'
141
142 · 'error-not-open' / 'GNOME_VFS_ERROR_NOT_OPEN'
143
144 · 'error-invalid-open-mode' / 'GNOME_VFS_ERROR_INVALID_OPEN_MODE'
145
146 · 'error-access-denied' / 'GNOME_VFS_ERROR_ACCESS_DENIED'
147
148 · 'error-too-many-open-files' / 'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES'
149
150 · 'error-eof' / 'GNOME_VFS_ERROR_EOF'
151
152 · 'error-not-a-directory' / 'GNOME_VFS_ERROR_NOT_A_DIRECTORY'
153
154 · 'error-in-progress' / 'GNOME_VFS_ERROR_IN_PROGRESS'
155
156 · 'error-interrupted' / 'GNOME_VFS_ERROR_INTERRUPTED'
157
158 · 'error-file-exists' / 'GNOME_VFS_ERROR_FILE_EXISTS'
159
160 · 'error-loop' / 'GNOME_VFS_ERROR_LOOP'
161
162 · 'error-not-permitted' / 'GNOME_VFS_ERROR_NOT_PERMITTED'
163
164 · 'error-is-directory' / 'GNOME_VFS_ERROR_IS_DIRECTORY'
165
166 · 'error-no-memory' / 'GNOME_VFS_ERROR_NO_MEMORY'
167
168 · 'error-host-not-found' / 'GNOME_VFS_ERROR_HOST_NOT_FOUND'
169
170 · 'error-invalid-host-name' / 'GNOME_VFS_ERROR_INVALID_HOST_NAME'
171
172 · 'error-host-has-no-address' / 'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS'
173
174 · 'error-login-failed' / 'GNOME_VFS_ERROR_LOGIN_FAILED'
175
176 · 'error-cancelled' / 'GNOME_VFS_ERROR_CANCELLED'
177
178 · 'error-directory-busy' / 'GNOME_VFS_ERROR_DIRECTORY_BUSY'
179
180 · 'error-directory-not-empty' / 'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY'
181
182 · 'error-too-many-links' / 'GNOME_VFS_ERROR_TOO_MANY_LINKS'
183
184 · 'error-read-only-file-system' /
185 'GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEM'
186
187 · 'error-not-same-file-system' /
188 'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM'
189
190 · 'error-name-too-long' / 'GNOME_VFS_ERROR_NAME_TOO_LONG'
191
192 · 'error-service-not-available' /
193 'GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLE'
194
195 · 'error-service-obsolete' / 'GNOME_VFS_ERROR_SERVICE_OBSOLETE'
196
197 · 'error-protocol-error' / 'GNOME_VFS_ERROR_PROTOCOL_ERROR'
198
199 · 'error-no-master-browser' / 'GNOME_VFS_ERROR_NO_MASTER_BROWSER'
200
201 · 'error-no-default' / 'GNOME_VFS_ERROR_NO_DEFAULT'
202
203 · 'error-no-handler' / 'GNOME_VFS_ERROR_NO_HANDLER'
204
205 · 'error-parse' / 'GNOME_VFS_ERROR_PARSE'
206
207 · 'error-launch' / 'GNOME_VFS_ERROR_LAUNCH'
208
209 · 'error-timeout' / 'GNOME_VFS_ERROR_TIMEOUT'
210
211 · 'error-nameserver' / 'GNOME_VFS_ERROR_NAMESERVER'
212
213 · 'error-locked' / 'GNOME_VFS_ERROR_LOCKED'
214
215 · 'error-deprecated-function' / 'GNOME_VFS_ERROR_DEPRECATED_FUNCTION'
216
217 · 'error-invalid-filename' / 'GNOME_VFS_ERROR_INVALID_FILENAME'
218
219 · 'error-not-a-symbolic-link' / 'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK'
220
221 · 'num-errors' / 'GNOME_VFS_NUM_ERRORS'
222
224 Gnome2::VFS
225
227 Copyright (C) 2003-2007 by the gtk2-perl team.
228
229 This software is licensed under the LGPL. See Gnome2::VFS for a full
230 notice.
231
232
233
234perl v5.12.0 2010-05-12 Gnome2::VFS::Directory(3)