Files
TowerDefence/My project/Library/PackageCache/com.unity.collab-proxy@3351acaba9c9/Editor/MetaPath.cs
Caleb Sandford deQuincey 334021d04e Started project
2025-11-14 17:30:41 +00:00

29 lines
662 B
C#

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);
}
}
}