INNER CODE UNIT · Ruby
self
EugenMayer/docker-sync · lib/docker-sync/dependencies.rb:21
def self.ensure_all_for_mac!(config)
PackageManager.ensure!
Docker.ensure!
Unison.ensure! if config.unison_required?
Rsync.ensure! if config.rsync_required?
Fswatch.ensure! if config.fswatch_required?
end
def self.ensure_all_for_linux!(config)
Docker.ensure!
Fswatch.forbid! if config.fswatch_required?
end
def self.ensure_all_for_freebsd!(config)
Docker.ensure!
Unison.ensure! if config.unison_required?
Rsync.ensure! if config.rsync_required?
Fswatch.forbid! if config.fswatch_required?