Jump to content

Talk:GIO (software)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by HiTechHiTouch (talk | contribs) at 08:28, 1 February 2021 (Library is more general-purpose). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
WikiProject iconComputing: Software / Free and open-source software Unassessed
WikiProject iconThis article is within the scope of WikiProject Computing, a collaborative effort to improve the coverage of computers, computing, and information technology on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
???This article has not yet received a rating on Wikipedia's content assessment scale.
???This article has not yet received a rating on the project's importance scale.
Taskforce icon
This article is supported by WikiProject Software.
Taskforce icon
This article is supported by Free and open-source software.

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

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

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]