]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/todo/plugin_to_clean_up_files_in_destdir.mdwn
a clean-up plugin, to keep dest dir synced only to ikiwiki generates files
[git.ikiwiki.info.git] / doc / todo / plugin_to_clean_up_files_in_destdir.mdwn
1 By default, IkiWiki will leave any existing files in the destination directory alone.
3 In some circumstances (a force push being one), files that IkiWiki did once generate can be left behind in the destination directory if it no longer does.
5 Since IkiWiki generates a list of all destination file paths that it is responsible for, a plugin (armed with that knowledge) could identify the files it *isn't* responsible for, too, and clean them up. This would be useful if the user wishes to keep a 1:1 correspondence between source and destination directories.
6  *—[[Jon]], 2021-02-07*