Method: Rustic::CommandBuilders::Check#build

Defined in:
lib/rustic/command_builders/check.rb

#buildObject



10
11
12
13
14
15
16
17
# File 'lib/rustic/command_builders/check.rb', line 10

def build
  [
    "check",
    @config&.check_unused ? "--check-unused" : nil,
    read_data_subset,
    @config&.with_cache ? "--with-cache" : nil
  ].compact
end