using UnityEditor;
using UnityEngine;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Perforce.P4;
namespace P4Connect
{
public class Queries
{
///
/// Returns the state of the passed in file
///
public static FileState GetFileState(string assetPath)
{
return Engine.GetFileState(assetPath);
}
///
/// Returns the state of the passed in file on the server (if checked out by someone else for instance)
///
public static RevisionState GetRevisionState(string assetPath)
{
return Engine.GetRevisionState(assetPath);
}
}
}