Gio.Vfs.prototype.get_file_for_path

function get_file_for_path(path: String): Gio.File {
    // Gjs wrapper for g_vfs_get_file_for_path()
}
  

Gets a Gio.File for path.

path

a string containing a VFS path.

Returns

a Gio.File. Free the returned object with GObject.Object.prototype.unref.