arenos-nexus/Arenos Nexus/Library/PackageCache/com.unity.collab-proxy@ab839cc7d2ad/Editor/MetaPath.cs
Daniel 2e704cae70 init
Init Commit Unity
2025-09-25 22:01:28 +02: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);
}
}
}