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
Sat, May 16, 21:14 (1 d, 13 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
dc/66/7b6dbb8b2bf1004a047c4db20562
Default Alt Text
DiffUtils.php (682 B)

Event Timeline