module Vagrant::Action::Builtin::Remote::MixinSyncedFolders
Public Class Methods
prepended(klass)
click to toggle source
Add an attribute accesor for the basis_client when applied to the MixinSyncedFolders
class
# File lib/vagrant/action/builtin/remote/mixin_synced_folders.rb, line 10 def self.prepended(klass) klass.class_eval do attr_accessor :basis_client end end
Public Instance Methods
default_synced_folder_type(machine, plugins)
click to toggle source
This should never be called?
# File lib/vagrant/action/builtin/remote/mixin_synced_folders.rb, line 17 def default_synced_folder_type(machine, plugins) nil end
save_synced_folders(machine, folders, opts={})
click to toggle source
Synced folder management happens on the vagrant server. Do nothing here
# File lib/vagrant/action/builtin/remote/mixin_synced_folders.rb, line 23 def save_synced_folders(machine, folders, opts={}) nil end
synced_folders(machine, **opts)
click to toggle source
This returns the set of shared folders that should be done for this machine. It returns the folders in a hash keyed by the implementation class for the synced folders.
@return [Hash<Symbol, Hash<String, Hash>>]
# File lib/vagrant/action/builtin/remote/mixin_synced_folders.rb, line 32 def synced_folders(machine, **opts) machine.synced_folders end