Page MenuHomeWickedGov Phorge

DiffUtils.php
No OneTemporary

Size
682 B
Referenced Files
None
Subscribers
None

DiffUtils.php

<?php
declare( strict_types = 1 );
namespace Wikimedia\Parsoid\Ext;
use Wikimedia\Parsoid\DOM\Element;
use Wikimedia\Parsoid\DOM\Node;
use Wikimedia\Parsoid\Html2Wt\DiffUtils as DU;
/**
*/
class DiffUtils {
/**
* Check a node to see whether it's a diff marker.
*/
public static function isDiffMarker(
?Node $node, ?string $mark = null
): bool {
return DU::isDiffMarker( $node, $mark );
}
/**
* Check that the diff markers on the node exist.
*/
public static function hasDiffMarkers( Node $node ): bool {
return DU::hasDiffMarkers( $node );
}
public static function subtreeUnchanged( Element $node ): bool {
return DU::subtreeUnchanged( $node );
}
}

File Metadata

Mime Type
text/x-php
Expires
Aug 18 2026, 03:21 (9 w, 2 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
ea/31/8ab213dac0a517947ef2f431a5d3
Default Alt Text
DiffUtils.php (682 B)

Event Timeline