Gimp.ConfigInterface.build_writable_path

function build_writable_path(name: String): String {
    // Gjs wrapper for gimp_config_build_writable_path()
}
  

Creates a search path as it is used in the gimprc file. The path returned by Gimp.config_build_writable_path is just the writable parts of the search path constructed by Gimp.config_build_data_path.

Note that you cannot use this path directly with Gimp.path_parse. As it is in the gimprc notation, you first need to expand and recode it using Gimp.ConfigPath.expand.

Since 2.4

name

directory name (in UTF-8 encoding)

Returns

a newly allocated string