wabbajack/Wabbajack.Paths/StringExtensions.cs

14 lines
281 B
C#
Raw Permalink Normal View History

2021-10-23 16:51:17 +00:00
namespace Wabbajack.Paths;
public static class StringExtensions
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
public static RelativePath ToRelativePath(this string s)
2021-09-27 12:42:46 +00:00
{
2021-10-23 16:51:17 +00:00
return (RelativePath) s;
}
2021-09-27 12:42:46 +00:00
2021-10-23 16:51:17 +00:00
public static AbsolutePath ToAbsolutePath(this string s)
{
return (AbsolutePath) s;
2021-09-27 12:42:46 +00:00
}
}