Jump to content

Talk:GIO (software)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

a "simple example" has blank lines to group statements, doesn't handle every remote possible case and is MUCH shorter! --88.153.145.39 (talk) 20:48, 18 April 2012 (UTC)[reply]

and doesn't use undocumented internal function calls like _g_free0() and _g_object_unref0(). 203.173.221.170 (talk) 21:42, 3 November 2012 (UTC)[reply]

It seems like this whole article was written by someone trying to dissuade users from GIO - comments with bad references and a code example that looks like it was originally written in Vala, put through the compiler and its results posted as example code. _g_free0() is a macro defined at the top, designed to return a NULL value... not exactly sure why it's there since it's just going to be removed by GCC as a dead store. — Preceding unsigned comment added by 76.177.55.105 (talk) 23:51, 31 December 2012 (UTC)[reply]

Library is more general-purpose

[edit]

I was surprised when I read in the Gtk.Action documentation that its functionality had been moved to GIO, because I thought it was a VFS library. I checked this article and saw my belief affirmed and was confused. I think the first sentence should mention that GIO now contains a lot more than just VFS utilities. --88.74.10.247 (talk) 00:42, 8 August 2015 (UTC)[reply]

Also a command

[edit]

GIO is a command utility exposing GVfs operations such and MOUNT and file operations.

+ gio --help Usage:

 gio COMMAND [ARGS…]

Commands:

 help     Print help
 version  Print version
 cat      Concatenate files to standard output
 copy     Copy one or more files
 info     Show information about locations
 list     List the contents of locations
 mime     Get or set the handler for a mimetype
 mkdir    Create directories
 monitor  Monitor files and directories for changes
 mount    Mount or unmount the locations
 move     Move one or more files
 open     Open files with the default application
 rename   Rename a file
 remove   Delete one or more files
 save     Read from standard input and save
 set      Set a file attribute
 trash    Move files or directories to the trash
 tree     Lists the contents of locations in a tree

Use “gio help COMMAND” to get detailed help.

HiTechHiTouch (talk) 08:28, 1 February 2021 (UTC)[reply]