]> git.ipfire.org Git - thirdparty/git.git/blobdiff - strbuf.h
Git 2.17.3
[thirdparty/git.git] / strbuf.h
index 14c8c10d66b9aaa2d8f0c109cf0dd668701cb2eb..e6cae5f4398c8eb4c4a53c7db226a920e32bfde9 100644 (file)
--- a/strbuf.h
+++ b/strbuf.h
@@ -179,6 +179,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.