ikiwiki/IkiWiki/Plugin/norcs.pm

59 lines
1.3 KiB
Perl
Raw Normal View History

2006-03-26 04:30:44 +02:00
#!/usr/bin/perl
# Stubs for no revision control.
2008-07-27 04:27:58 +02:00
package IkiWiki::Plugin::norcs;
use warnings;
use strict;
use IkiWiki;
2008-07-27 04:27:58 +02:00
sub import { #{{{
hook(type => "rcs", id => "rcs_update", call => \&rcs_update);
hook(type => "rcs", id => "rcs_prepedit", call => \&rcs_prepedit);
hook(type => "rcs", id => "rcs_commit", call => \&rcs_commit);
hook(type => "rcs", id => "rcs_commit_staged", call => \&rcs_commit_staged);
hook(type => "rcs", id => "rcs_add", call => \&rcs_add);
hook(type => "rcs", id => "rcs_remove", call => \&rcs_remove);
hook(type => "rcs", id => "rcs_rename", call => \&rcs_rename);
hook(type => "rcs", id => "rcs_recentchanges", call => \&rcs_recentchanges);
hook(type => "rcs", id => "rcs_diff", call => \&rcs_diff);
hook(type => "rcs", id => "rcs_getctime", call => \&rcs_getctime);
} #}}}
sub rcs_update () { #{{{
} #}}}
sub rcs_prepedit ($) { #{{{
return ""
2008-07-27 04:27:58 +02:00
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_commit ($$$;$$) { #{{{
my ($file, $message, $rcstoken, $user, $ipaddr) = @_;
return undef # success
2008-07-27 04:27:58 +02:00
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_commit_staged ($$$) { #{{{
my ($message, $user, $ipaddr)=@_;
return undef # success
2008-07-27 04:27:58 +02:00
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_add ($) { #{{{
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_remove ($) { #{{{
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_rename ($$) { #{{{
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_recentchanges ($) { #{{{
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_diff ($) { #{{{
} #}}}
2008-07-27 04:27:58 +02:00
sub rcs_getctime ($) { #{{{
error gettext("getctime not implemented");
2008-07-27 04:27:58 +02:00
} #}}}
2006-03-26 04:30:44 +02:00
1