get_dir


Description:

[ Version ( since = "2.38" ) ]
public unowned string get_dir (FileType file_type)

Gets the pathname of the directory containing test files of the type specified by file_type.

This is approximately the same as calling g_test_build_filename("."), but you don't need to free the return value.

Parameters:

file_type

the type of file (built vs. distributed)

Returns:

the path of the directory, owned by GLib


Namespace: GLib.Test
Package: glib-2.0