test
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using Unity.PlasticSCM.Editor.UI;
|
||||
|
||||
namespace Unity.PlasticSCM.Editor
|
||||
{
|
||||
internal static class MetaPath
|
||||
{
|
||||
internal const string META_EXTENSION = ".meta";
|
||||
|
||||
internal static bool IsMetaPath(string path)
|
||||
{
|
||||
return path.EndsWith(META_EXTENSION);
|
||||
}
|
||||
|
||||
internal static string GetMetaPath(string path)
|
||||
{
|
||||
return string.Concat(
|
||||
path,
|
||||
META_EXTENSION);
|
||||
}
|
||||
|
||||
internal static string GetPathFromMetaPath(string path)
|
||||
{
|
||||
return path.Substring(
|
||||
0,
|
||||
path.Length - META_EXTENSION.Length);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user