file: file.aus

class: GFile

[83:7] extends: object

GFile is a high level abstraction for manipulating files on a virtual file system. GFiles are lightweight, immutable objects that do no I/O upon creation. It is necessary to understand that GFile objects do not represent files, merely an identifier for a file. All file content I/O is implemented as streaming operations (see [class@Gio.InputStream] and [class@Gio.OutputStream]). To construct a GFile, you can use: - [func@Gio.File.new_for_path] if you have a path. - [func@Gio.File.new_for_uri] if you have a URI. - [func@Gio.File.new_for_commandline_arg] or [func@Gio.File.new_for_commandline_arg_and_cwd] for a command line argument.

Members

Methods