<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">#!/usr/bin/perl
# Stubs for no revision control.
package IkiWiki::Plugin::norcs;

use warnings;
use strict;
use IkiWiki;

sub import { #{{{
	hook(type =&gt; "getsetup", id =&gt; "norcs", call =&gt; \&amp;getsetup);
	hook(type =&gt; "rcs", id =&gt; "rcs_update", call =&gt; \&amp;rcs_update);
	hook(type =&gt; "rcs", id =&gt; "rcs_prepedit", call =&gt; \&amp;rcs_prepedit);
	hook(type =&gt; "rcs", id =&gt; "rcs_commit", call =&gt; \&amp;rcs_commit);
	hook(type =&gt; "rcs", id =&gt; "rcs_commit_staged", call =&gt; \&amp;rcs_commit_staged);
	hook(type =&gt; "rcs", id =&gt; "rcs_add", call =&gt; \&amp;rcs_add);
	hook(type =&gt; "rcs", id =&gt; "rcs_remove", call =&gt; \&amp;rcs_remove);
	hook(type =&gt; "rcs", id =&gt; "rcs_rename", call =&gt; \&amp;rcs_rename);
	hook(type =&gt; "rcs", id =&gt; "rcs_recentchanges", call =&gt; \&amp;rcs_recentchanges);
	hook(type =&gt; "rcs", id =&gt; "rcs_diff", call =&gt; \&amp;rcs_diff);
	hook(type =&gt; "rcs", id =&gt; "rcs_getctime", call =&gt; \&amp;rcs_getctime);
} #}}}

sub getsetup () { #{{{
	return
		plugin =&gt; {
			safe =&gt; 0, # rcs plugin
			rebuild =&gt; 0,
		},
} #}}}


sub rcs_update () { #{{{
} #}}}

sub rcs_prepedit ($) { #{{{
	return ""
} #}}}

sub rcs_commit ($$$;$$) { #{{{
	my ($file, $message, $rcstoken, $user, $ipaddr) = @_;
	return undef # success
} #}}}

sub rcs_commit_staged ($$$) { #{{{
	my ($message, $user, $ipaddr)=@_;
	return undef # success
} #}}}

sub rcs_add ($) { #{{{
} #}}}

sub rcs_remove ($) { #{{{
} #}}}

sub rcs_rename ($$) { #{{{
} #}}}

sub rcs_recentchanges ($) { #{{{
} #}}}

sub rcs_diff ($) { #{{{
} #}}}

sub rcs_getctime ($) { #{{{
	error gettext("getctime not implemented");
} #}}}

1
</pre></body></html>