save tmp work before trying to fetch other wml deps

This commit is contained in:
odain
2025-03-17 16:50:33 +01:00
parent 6319d0a9cb
commit 1d7e776f6d
3 changed files with 404 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace Combodo\iTop\Test\UnitTest;
class XmlModuleMetaInfo {
public string $sLastNodeId;
public string $sNodeName;
public string $sPath;
public string $sDelta;
public function __construct(string $sLastNodeId, string $sNodeName, string $sPath, string $sDelta)
{
$this->sLastNodeId = $sLastNodeId;
$this->sNodeName = $sNodeName;
$this->sPath = $sPath;
$this->sDelta = $sDelta;
}
public function IsDefine() : bool {
return
$this->sDelta === 'define_if_not_exists'
|| $this->sDelta === 'define';
}
public function GetUID() : string
{
return $this->sNodeName . '_' . $this->sLastNodeId;
}
}