module Expire
Expire
backup directories
Constants
- MAJOR
- MINOR
- TINY
- VERSION
Public Class Methods
create_playground(base)
click to toggle source
Your code goes hereā¦
# File lib/expire.rb, line 20 def self.create_playground(base) Playground.create(base) end
newest(path)
click to toggle source
# File lib/expire.rb, line 24 def self.newest(path) GenerateBackupListService.call(path).newest end
oldest(path)
click to toggle source
# File lib/expire.rb, line 28 def self.oldest(path) GenerateBackupListService.call(path).oldest end
purge(path, options)
click to toggle source
# File lib/expire.rb, line 32 def self.purge(path, options) PurgeService.call(path, options) end
remove(path)
click to toggle source
# File lib/expire.rb, line 36 def self.remove(path) FileUtils.rm_r(path) end
rule_classes()
click to toggle source
# File lib/expire.rb, line 40 def self.rule_classes Expire::RuleList.class_names end
rule_names()
click to toggle source
# File lib/expire.rb, line 44 def self.rule_names Expire::RuleList.names end
rule_option_names()
click to toggle source
# File lib/expire.rb, line 48 def self.rule_option_names Expire::RuleList.option_names end