Page MenuHomePhabricator
Diviner libphutil Tech Docs ArcanistCommentRemover

final class ArcanistCommentRemover
libphutil Technical Documentation (Parsers)

This class is not documented.

Methods

public static function removeComments($body)

Remove comment lines from a commit message. Strips trailing lines only, and requires "#" to appear at the beginning of a line for it to be considered a comment.

Parameters
$body
Return
wild