##// END OF EJS Templates
scm: filesystem: override "path_encoding" method in adapter (#2274)....
Toshi MARUYAMA -
r5744:cbd17151097e
parent child
Show More
@@ -38,6 +38,10 module Redmine
38 @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
38 @path_encoding = path_encoding.blank? ? 'UTF-8' : path_encoding
39 end
39 end
40
40
41 def path_encoding
42 @path_encoding
43 end
44
41 def format_path_ends(path, leading=true, trailling=true)
45 def format_path_ends(path, leading=true, trailling=true)
42 path = leading ? with_leading_slash(path) :
46 path = leading ? with_leading_slash(path) :
43 without_leading_slash(path)
47 without_leading_slash(path)
General Comments 0
You need to be logged in to leave comments. Login now