Gio.Vfs.get_file_for_path

### Method

# Gio Vfsget_file_for_path

#### Declaration [src]

    GFile*
    g_vfs_get_file_for_path (
      GVfs* vfs,
      const char* path
    )

#### Description [src]

Gets a `GFile` for `path`.

#### Parameters

`path`

  Type: `const char*`

  A string containing a VFS path.

  The data is owned by the caller of the method.
  The value is a platform-native string, using the preferred OS encoding on Unix and UTF-8 on Windows.

#### Return value

Type: `GFile`

A `GFile`. Free the returned object with g_object_unref().

The caller of the method takes ownership of the returned data, and is responsible for freeing it.