Gnome2:...FileInfo(3)

πŸ“¦
version 1.084 Β· 2 versions
, in fedora 43

πŸ’– Gnome2::VFS::FileInfo πŸ’–

okay bestie, welcome to the manual page for Gnome2::VFS::FileInfo β€” it's part of the User Contributed Perl Documentation collection, section 3 (that's the library-functions section, iykyk ✨). pull up a chair, grab a boba, and let's get into it. πŸ§‹


✨ NAME ✨

Gnome2::VFS::FileInfo β€” that's the whole name, that's the whole vibe. πŸ’…


πŸŽ€ METHODS πŸŽ€

🌸 fileinfo = Gnome2::VFS::FileInfo->new ($hash_ref)

  • $hash_ref (scalar)

not me manifesting a whole new object out of a hash ref 😭✨. this one creates a new GnomeVFSFileInfo object from hash_ref β€” like, for use with Gnome2::VFS::FileInfo::matches, for example. iconic.

and here's the tea πŸ«–: normally, you can always directly use a hash reference if you're asked for a GnomeVFSFileInfo. so like, no stress, bestie β€” the raw hash ref is valid currency in these streets. πŸ’Έ


πŸ¦‹ boolean = $a->matches ($b)

  • $b (Gnome2::VFS::FileInfo)

does $a match $b? πŸ‘€ returns a boolean, so it's giving true-or-false, no in-between, no "it's complicated". the vibe check, but for file info objects. ⭐


🌈 string = $info->get_mime_type

grab the mime type as a string πŸ“. that's it, that's the method. lowkey the simplest glow-up on the page and honestly? obsessed. πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

Gnome2::VFS β€” go read that one next, fr fr. it's the main character of this whole cinematic universe. 🌟


Copyright (C) 2003-2007, 2013 by the gtk2-perl team.

This software is licensed under the LGPL. See Gnome2::VFS for a full notice. πŸ“œ

shoutout to the gtk2-perl team for holding it down since 2003, we love a legacy queen πŸ’…πŸ‘‘

perl v5.42.0 Β· 2025-07-25 β€” that's the version and the date, bestie, and that's a wrap on Gnome2::VFS::FileInfo. go forth and slay your file info. πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from