@b4n commented on this pull request.


In src/utils.c:

> @@ -2031,6 +2031,209 @@ gchar **utils_strv_join(gchar **first, gchar **second)
 	return strv;
 }
 
+/* * Returns the common prefix in a list of strings.
+ *
+ * The size of the list may be given explicitely, but defaults to @c g_strv_length(strv).
+ *
+ * @param strv The list of strings to process.
+ * @param num The number of strings contained in @a strv. Can be 0 if it's terminated by @c NULL.

I'm not sure there is one for strvs, but there are quite some for strings, the first that comes to mind right now is g_utf8_strlen()


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.