Merge branch 'en/rename-directory-detection'
[gitweb.git] / strbuf.h
index e2e9e5be22d303aa3147e58f54b56addafae496c..652f17392c15993272db5891227ec25b3c78d8bd 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -181,6 +181,9 @@ extern void strbuf_trim(struct strbuf *);
 extern void strbuf_rtrim(struct strbuf *);
 extern void strbuf_ltrim(struct strbuf *);
 
+/* Strip trailing directory separators */
+extern void strbuf_trim_trailing_dir_sep(struct strbuf *);
+
 /**
  * Replace the contents of the strbuf with a reencoded form.  Returns -1
  * on error, 0 on success.