Gnome2:...:Handle(3)
π NAME π
okay so, bestie, this is the page for Gnome2::VFS::Directory::Handle β straight out of the User Contributed Perl Documentation. it's a directory handle object, it does directory-handle things, and it's giving "small API, big feelings" energy. let's get into it π
β¨ METHODS β¨
πΈ result = $handle->close
closes the handle, and hands you back a result. that's it, that's the whole vibe. one method, zero drama. π«Ά
πΈ list = $handle->read_next
reads the next thing off the list. and listen β it Returns a GnomeVFSResult and a GnomeVFSFileInfo. two things, one call. she's multifaceted like that. πβ¨
π ENUMS AND FLAGS π
π¦ enum Gnome2::VFS::Result
okay this is the big one, the main character of the page. every single result code you could ever get back, in all her glory. buckle up, we're going through all of them, no skipping, no shortcuts, periodt. π
'ok'/GNOME_VFS_OKβ everything's fine, the vibe check passed, slay π'error-not-found'/GNOME_VFS_ERROR_NOT_FOUNDβ it's not there, bestie π'error-generic'/GNOME_VFS_ERROR_GENERICβ just... an error. generic. no further comment π'error-internal'/GNOME_VFS_ERROR_INTERNALβ something broke inside, it's personal now'error-bad-parameters'/GNOME_VFS_ERROR_BAD_PARAMETERSβ you handed it bad parameters, and it's telling you'error-not-supported'/GNOME_VFS_ERROR_NOT_SUPPORTEDβ not supported, not happening, not today'error-io'/GNOME_VFS_ERROR_IOβ an I/O thing went sideways'error-corrupted-data'/GNOME_VFS_ERROR_CORRUPTED_DATAβ the data is corrupted π'error-wrong-format'/GNOME_VFS_ERROR_WRONG_FORMATβ wrong format, right energy, unfortunately format is what counts'error-bad-file'/GNOME_VFS_ERROR_BAD_FILEβ bad file. bad. naughty file.'error-too-big'/GNOME_VFS_ERROR_TOO_BIGβ too big, it can't even π«£'error-no-space'/GNOME_VFS_ERROR_NO_SPACEβ no space left, the classic'error-read-only'/GNOME_VFS_ERROR_READ_ONLYβ read-only, so don't even try it'error-invalid-uri'/GNOME_VFS_ERROR_INVALID_URIβ that URI is invalid, bestie, redo it'error-not-open'/GNOME_VFS_ERROR_NOT_OPENβ it's not open'error-invalid-open-mode'/GNOME_VFS_ERROR_INVALID_OPEN_MODEβ that open mode? invalid. nope.'error-access-denied'/GNOME_VFS_ERROR_ACCESS_DENIEDβ access denied, the bouncer said no π'error-too-many-open-files'/GNOME_VFS_ERROR_TOO_MANY_OPEN_FILESβ too many open files, you're hoarding'error-eof'/GNOME_VFS_ERROR_EOFβ end of file, we've reached the end, take a bow π'error-not-a-directory'/GNOME_VFS_ERROR_NOT_A_DIRECTORYβ not a directory. it's not one. stop asking.'error-in-progress'/GNOME_VFS_ERROR_IN_PROGRESSβ it's in progress, give her a minute'error-interrupted'/GNOME_VFS_ERROR_INTERRUPTEDβ interrupted π'error-file-exists'/GNOME_VFS_ERROR_FILE_EXISTSβ it already exists, it was here first'error-loop'/GNOME_VFS_ERROR_LOOPβ a loop. we're going in circles. literally.'error-not-permitted'/GNOME_VFS_ERROR_NOT_PERMITTEDβ not permitted, and that's the final answer'error-is-directory'/GNOME_VFS_ERROR_IS_DIRECTORYβ plot twist: it IS a directory'error-no-memory'/GNOME_VFS_ERROR_NO_MEMORYβ no memory left, she's full π'error-host-not-found'/GNOME_VFS_ERROR_HOST_NOT_FOUNDβ host not found, where did they go'error-invalid-host-name'/GNOME_VFS_ERROR_INVALID_HOST_NAMEβ that host name is invalid'error-host-has-no-address'/GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESSβ the host has no address, she's off the grid'error-login-failed'/GNOME_VFS_ERROR_LOGIN_FAILEDβ login failed π'error-cancelled'/GNOME_VFS_ERROR_CANCELLEDβ cancelled, we're not doing this anymore'error-directory-busy'/GNOME_VFS_ERROR_DIRECTORY_BUSYβ directory's busy, she's booked and blessed'error-directory-not-empty'/GNOME_VFS_ERROR_DIRECTORY_NOT_EMPTYβ not empty, there's stuff in there'error-too-many-links'/GNOME_VFS_ERROR_TOO_MANY_LINKSβ too many links, it's a whole web'error-read-only-file-system'/GNOME_VFS_ERROR_READ_ONLY_FILE_SYSTEMβ the whole file system is read-only, not just a file'error-not-same-file-system'/GNOME_VFS_ERROR_NOT_SAME_FILE_SYSTEMβ different file systems, different worlds π'error-name-too-long'/GNOME_VFS_ERROR_NAME_TOO_LONGβ that name is too long, ma'am'error-service-not-available'/GNOME_VFS_ERROR_SERVICE_NOT_AVAILABLEβ service not available'error-service-obsolete'/GNOME_VFS_ERROR_SERVICE_OBSOLETEβ that service is obsolete, it's giving 2003'error-protocol-error'/GNOME_VFS_ERROR_PROTOCOL_ERRORβ protocol error, the rules were broken'error-no-master-browser'/GNOME_VFS_ERROR_NO_MASTER_BROWSERβ no master browser π (and no, you can't be it)'error-no-default'/GNOME_VFS_ERROR_NO_DEFAULTβ there's no default'error-no-handler'/GNOME_VFS_ERROR_NO_HANDLERβ no handler, nobody's picking up'error-parse'/GNOME_VFS_ERROR_PARSEβ it couldn't parse it'error-launch'/GNOME_VFS_ERROR_LAUNCHβ the launch failed'error-timeout'/GNOME_VFS_ERROR_TIMEOUTβ timed out, she left you on read'error-nameserver'/GNOME_VFS_ERROR_NAMESERVERβ nameserver said no'error-locked'/GNOME_VFS_ERROR_LOCKEDβ locked π'error-deprecated-function'/GNOME_VFS_ERROR_DEPRECATED_FUNCTIONβ you called a deprecated function, bestie, it's over'error-invalid-filename'/GNOME_VFS_ERROR_INVALID_FILENAMEβ invalid filename, try again with a real one'error-not-a-symbolic-link'/GNOME_VFS_ERROR_NOT_A_SYMBOLIC_LINKβ not a symbolic link. it's not. stop.'num-errors'/GNOME_VFS_NUM_ERRORSβ and that's the count, the finale, the last one π
π¦ SEE ALSO π¦
Gnome2::VFSβ go here for the big picture, the mothership, the source of all lore π
π COPYRIGHT π
Copyright (C) 2003-2007, 2013 by the gtk2-perl team.
This software is licensed under the LGPL. See Gnome2::VFS for a full notice. (yes, the full notice lives over there, not here β go read it, iykyk β¨)
okay and that's the whole page, bestie!! πΈ this lil doc came to you courtesy of perl v5.42.0 and it was last touched on 2025-07-25 β so yeah, she's been around, she's seen things, and she still ate π π«Ά mwah, go close some handles responsibly π
π¦ where this page comes from
- fedora 43: perl-Gnome2-VFS 1.084-17.fc43 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms