SVN::Notify::Filter 2.83

Оценок пока нет — будьте первым

Описание

SVN::Notify::Filter is a Perl module to create output filters for SVN::Notify. Synopsis package SVN::Notify::Filter::Textile; use Text::Textile (); sub log_message { my ($notifier, $lines) = @_; return $lines unless $notify->content_type eq 'text/html'; return [ Text::Textile->new->process( join $/, @$lines ) ]; } This document covers the output filtering capabilities of SVN::Notify. Output filters are simply subroutines that modify content before SVN::Notify outputs it. The idea is to provide a simple interface for anyone to use to change the format of the messages that SVN::Notify creates. Filters are loaded by the filter parameter to new() or by the --filter option to the svnnotify command-line program. Requirements:

Информация о программе

  • Категория: Другое
  • ОС: Linux
  • Скачиваний: 0
Скачать