spkgdeveloper's documentation
G_BEGIN_DECLS gchar* path_sanitize_slashes ( const gchar *  path  ) 

Remove trailing slashes and squeeze any consecutive slashes into one.

For examle "//path/to///" -> "/path/to"

Parameters:
path path to be sanitizd.
Returns:
sanitized path (always)

Documentation for spkg, Sun Jul 23 13:12:53 2006.