Module R10K::Util::Purgeable
In: lib/r10k/util/purgeable.rb

Mixin for purging stale directory contents.

@abstract Classes using this mixin need to implement {managed_directory} and

  {#desired_contents}

Methods

Public Instance methods

@return [Array<String>] The present directory entries in `self.managed_directory`

@return [Array<String>] Directory contents that are expected but not present

Forcibly remove all unmanaged content in `self.managed_directory`

@return [Array<String>] Directory contents that are present but not expected

[Validate]