GFile
GFile is a central abstraction in the GLib library’s GIO module that represents a file or directory location without tying the code to a specific filesystem. A GFile refers to a resource by a URI or a path and can point to local files, remote resources accessed through GVfs backends, or other virtual locations. It provides a uniform API for common file operations, metadata access, and stream-based I/O, enabling applications to work with diverse storage backends in a consistent way.
GFile objects are immutable and integrate with other GIO types such as GFileInfo, GFileEnumerator, GFileInputStream, GFileOutputStream,
GFile supports both synchronous and asynchronous interfaces to suit desktop and client applications. It is a
- GIO