Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace Verisign logo with one done in Inkscape
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
amazon_s3.pm
diff --git
a/IkiWiki/Plugin/amazon_s3.pm
b/IkiWiki/Plugin/amazon_s3.pm
index cfd8cd3477f81dd0758564994f35979419e330a0..a9da6bf12b69dc62f2ee05f22aaaef2c88fe7dde 100644
(file)
--- a/
IkiWiki/Plugin/amazon_s3.pm
+++ b/
IkiWiki/Plugin/amazon_s3.pm
@@
-232,8
+232,9
@@
sub writefile ($$$;$$) {
}
# This is a wrapper around the real prune.
}
# This is a wrapper around the real prune.
-sub prune ($) {
+sub prune ($
;$
) {
my $file=shift;
my $file=shift;
+ my $up_to=shift;
my @keys=IkiWiki::Plugin::amazon_s3::file2keys($file);
my @keys=IkiWiki::Plugin::amazon_s3::file2keys($file);
@@
-250,7
+251,7
@@
sub prune ($) {
}
}
}
}
- return $IkiWiki::Plugin::amazon_s3::subs{'IkiWiki::prune'}->($file);
+ return $IkiWiki::Plugin::amazon_s3::subs{'IkiWiki::prune'}->($file
, $up_to
);
}
1
}
1