/usr/share/pepper/check_cache.lua is in pepper 0.3.3-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | --[[
pepper - SCM statistics report generator
Copyright (C) 2010-present Jonas Gehring
Released under the GNU General Public License, version 3.
Please see the COPYING file in the source distribution for license
terms and conditions, or see http://www.gnu.org/licenses/.
file: check_cache.lua
Runs a cache check
--]]
-- Describes the report
function describe(self)
local r = {}
r.title = "Cache check"
r.description = "Checks and cleans up the revision cache"
r.options = {{"-f,--force", "Force clearing of cache if necessary"}}
return r
end
-- Main script function
function run(self)
pepper.internal.check_cache(self:repository(), self:getopt("f,force"))
end
|