get_parent


Description:

public abstract File? get_parent ()

Gets the parent directory for the this.

If the this represents the root directory of the file system, then null will be returned.

This call does no blocking I/O.

Parameters:

this

input File

Returns:

a File structure to the parent of the given File or null if there is no parent. Free the returned object with unref.