From 5be5f167a1290993c1c7fdbaab1c44b4434b48df Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Mon, 19 Sep 2022 18:25:29 +0200 Subject: C#: Rename `PlusFile` to `PathJoin` --- modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/mono/glue') diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs index 44f951e314..d77baab24b 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/StringExtensions.cs @@ -1245,12 +1245,12 @@ namespace Godot /// /// If the string is a path, this concatenates /// at the end of the string as a subpath. - /// E.g. "this/is".PlusFile("path") == "this/is/path". + /// E.g. "this/is".PathJoin("path") == "this/is/path". /// /// The path that will be concatenated. /// File name to concatenate with the path. /// The concatenated path with the given file name. - public static string PlusFile(this string instance, string file) + public static string PathJoin(this string instance, string file) { if (instance.Length > 0 && instance[instance.Length - 1] == '/') return instance + file; -- cgit v1.2.3