JD2022-TU1/main/tools/apps/DataFileAnalyzer/FileLibrary/PerforceUpdateOperation.cs

30 lines
770 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ubisoft.Perforce.Data;
namespace DataFileAnalyzer
{
public class PerforceUpdateOperation : UpdateOperation
{
private DepotFileInfo m_perforceInfo;
public PerforceUpdateOperation(FileUpdater _updater, string _filePath, DepotFileInfo _p4info)
: base(_updater, _filePath)
{
m_perforceInfo = _p4info;
}
public override void Run()
{
}
public override void UpdateLibrary()
{
DataFile dataFile = m_library.GetFile(NormalizedFilePath);
if (dataFile != null)
dataFile.RemoveWarning(DataFileError.Codes.NotInPerforce);
}
}
}