1Gnome2::VFS::Directory(U3s)er Contributed Perl DocumentatGinoonme2::VFS::Directory(3)
2
3
4

NAME

6       Gnome2::VFS::Directory
7

METHODS

9       list = Gnome2::VFS::Directory->list_load ($text_uri, $options)
10
11           * $text_uri (string)
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
19           * $text_uri (string)
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
26           * $uri (Gnome2::VFS::URI)
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
34           * $uri (string)
35           * $info_options (Gnome2::VFS::FileInfoOptions)
36           * $visit_options (Gnome2::VFS::DirectoryVisitOptions)
37           * $func (scalar)
38           * $data (scalar)
39
40       result = Gnome2::VFS::Directory->visit_files ($text_uri, $file_ref,
41       $info_options, $visit_options, $func, $data=undef)
42
43           * $text_uri (string)
44           * $file_ref (scalar)
45           * $info_options (Gnome2::VFS::FileInfoOptions)
46           * $visit_options (Gnome2::VFS::DirectoryVisitOptions)
47           * $func (scalar)
48           * $data (scalar)
49
50       result = Gnome2::VFS::Directory->visit_files_at_uri ($uri, $file_ref,
51       $info_options, $visit_options, $func, $data=undef)
52
53           * $uri (Gnome2::VFS::URI)
54           * $file_ref (scalar)
55           * $info_options (Gnome2::VFS::FileInfoOptions)
56           * $visit_options (Gnome2::VFS::DirectoryVisitOptions)
57           * $func (scalar)
58           * $data (scalar)
59
60       result = Gnome2::VFS::Directory->visit_uri ($uri, $info_options,
61       $visit_options, $func, $data=undef)
62
63           * $uri (Gnome2::VFS::URI)
64           * $info_options (Gnome2::VFS::FileInfoOptions)
65           * $visit_options (Gnome2::VFS::DirectoryVisitOptions)
66           * $func (scalar)
67           * $data (scalar)
68

ENUMS AND FLAGS

70       flags Gnome2::VFS::DirectoryVisitOptions
71
72       * 'default' / 'GNOME_VFS_DIRECTORY_VISIT_DEFAULT'
73       * 'samefs' / 'GNOME_VFS_DIRECTORY_VISIT_SAMEFS'
74       * 'loopcheck' / 'GNOME_VFS_DIRECTORY_VISIT_LOOPCHECK'
75
76       flags Gnome2::VFS::FileInfoOptions
77
78       * 'default' / 'GNOME_VFS_FILE_INFO_DEFAULT'
79       * 'get-mime-type' / 'GNOME_VFS_FILE_INFO_GET_MIME_TYPE'
80       * 'force-fast-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_FAST_MIME_TYPE'
81       * 'force-slow-mime-type' / 'GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE'
82       * 'follow-links' / 'GNOME_VFS_FILE_INFO_FOLLOW_LINKS'
83       * 'get-access-rights' / 'GNOME_VFS_FILE_INFO_GET_ACCESS_RIGHTS'
84       * 'name-only' / 'GNOME_VFS_FILE_INFO_NAME_ONLY'
85       * 'get-acl' / 'GNOME_VFS_FILE_INFO_GET_ACL'
86       * 'get-selinux-context' / 'GNOME_VFS_FILE_INFO_GET_SELINUX_CONTEXT'
87
88       enum Gnome2::VFS::Result
89
90       * 'ok' / 'GNOME_VFS_OK'
91       * 'error-not-found' / 'GNOME_VFS_ERROR_NOT_FOUND'
92       * 'error-generic' / 'GNOME_VFS_ERROR_GENERIC'
93       * 'error-internal' / 'GNOME_VFS_ERROR_INTERNAL'
94       * 'error-bad-parameters' / 'GNOME_VFS_ERROR_BAD_PARAMETERS'
95       * 'error-not-supported' / 'GNOME_VFS_ERROR_NOT_SUPPORTED'
96       * 'error-io' / 'GNOME_VFS_ERROR_IO'
97       * 'error-corrupted-data' / 'GNOME_VFS_ERROR_CORRUPTED_DATA'
98       * 'error-wrong-format' / 'GNOME_VFS_ERROR_WRONG_FORMAT'
99       * 'error-bad-file' / 'GNOME_VFS_ERROR_BAD_FILE'
100       * 'error-too-big' / 'GNOME_VFS_ERROR_TOO_BIG'
101       * 'error-no-space' / 'GNOME_VFS_ERROR_NO_SPACE'
102       * 'error-read-only' / 'GNOME_VFS_ERROR_READ_ONLY'
103       * 'error-invalid-uri' / 'GNOME_VFS_ERROR_INVALID_URI'
104       * 'error-not-open' / 'GNOME_VFS_ERROR_NOT_OPEN'
105       * 'error-invalid-open-mode' / 'GNOME_VFS_ERROR_INVALID_OPEN_MODE'
106       * 'error-access-denied' / 'GNOME_VFS_ERROR_ACCESS_DENIED'
107       * 'error-too-many-open-files' / 'GNOME_VFS_ERROR_TOO_MANY_OPEN_FILES'
108       * 'error-eof' / 'GNOME_VFS_ERROR_EOF'
109       * 'error-not-a-directory' / 'GNOME_VFS_ERROR_NOT_A_DIRECTORY'
110       * 'error-in-progress' / 'GNOME_VFS_ERROR_IN_PROGRESS'
111       * 'error-interrupted' / 'GNOME_VFS_ERROR_INTERRUPTED'
112       * 'error-file-exists' / 'GNOME_VFS_ERROR_FILE_EXISTS'
113       * 'error-loop' / 'GNOME_VFS_ERROR_LOOP'
114       * 'error-not-permitted' / 'GNOME_VFS_ERROR_NOT_PERMITTED'
115       * 'error-is-directory' / 'GNOME_VFS_ERROR_IS_DIRECTORY'
116       * 'error-no-memory' / 'GNOME_VFS_ERROR_NO_MEMORY'
117       * 'error-host-not-found' / 'GNOME_VFS_ERROR_HOST_NOT_FOUND'
118       * 'error-invalid-host-name' / 'GNOME_VFS_ERROR_INVALID_HOST_NAME'
119       * 'error-host-has-no-address' / 'GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS'
120       * 'error-login-failed' / 'GNOME_VFS_ERROR_LOGIN_FAILED'
121       * 'error-cancelled' / 'GNOME_VFS_ERROR_CANCELLED'
122       * 'error-directory-busy' / 'GNOME_VFS_ERROR_DIRECTORY_BUSY'
123       * 'error-directory-not-empty' / 'GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTY'
124       * 'error-too-many-links' / 'GNOME_VFS_ERROR_TOO_MANY_LINKS'
125       * 'error-read-only-file-system' / 'GNOME_VFS_ERROR_READ_ONLY_FILE_SYS‐
126       TEM'
127       * 'error-not-same-file-system' / 'GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEM'
128       * 'error-name-too-long' / 'GNOME_VFS_ERROR_NAME_TOO_LONG'
129       * 'error-service-not-available' / 'GNOME_VFS_ERROR_SERVICE_NOT_AVAIL‐
130       ABLE'
131       * 'error-service-obsolete' / 'GNOME_VFS_ERROR_SERVICE_OBSOLETE'
132       * 'error-protocol-error' / 'GNOME_VFS_ERROR_PROTOCOL_ERROR'
133       * 'error-no-master-browser' / 'GNOME_VFS_ERROR_NO_MASTER_BROWSER'
134       * 'error-no-default' / 'GNOME_VFS_ERROR_NO_DEFAULT'
135       * 'error-no-handler' / 'GNOME_VFS_ERROR_NO_HANDLER'
136       * 'error-parse' / 'GNOME_VFS_ERROR_PARSE'
137       * 'error-launch' / 'GNOME_VFS_ERROR_LAUNCH'
138       * 'error-timeout' / 'GNOME_VFS_ERROR_TIMEOUT'
139       * 'error-nameserver' / 'GNOME_VFS_ERROR_NAMESERVER'
140       * 'error-locked' / 'GNOME_VFS_ERROR_LOCKED'
141       * 'error-deprecated-function' / 'GNOME_VFS_ERROR_DEPRECATED_FUNCTION'
142       * 'error-invalid-filename' / 'GNOME_VFS_ERROR_INVALID_FILENAME'
143       * 'error-not-a-symbolic-link' / 'GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINK'
144       * 'num-errors' / 'GNOME_VFS_NUM_ERRORS'
145

SEE ALSO

147       Gnome2::VFS
148
150       Copyright (C) 2003-2007 by the gtk2-perl team.
151
152       This software is licensed under the LGPL.  See Gnome2::VFS for a full
153       notice.
154
155
156
157perl v5.8.8                       2007-10-24         Gnome2::VFS::Directory(3)
Impressum