class VagrantPlugins::SyncedFolderSSHFS::HostPathUnfix
Class that will undo the data manipulation that was done in HostPathFix
and also set hostpath_exact=true if necessary
Public Class Methods
new(app, env)
click to toggle source
# File lib/vagrant-sshfs/action_hostpath_fixup.rb, line 112 def initialize(app, env) @app = app @logger = Log4r::Logger.new("vagrant::synced_folders::sshfs") end
Public Instance Methods
call(env)
click to toggle source
# File lib/vagrant-sshfs/action_hostpath_fixup.rb, line 117 def call(env) classname = "VagrantPlugins::SyncedFolderSSHFS::HostPathUnfix" @logger.debug("Executing hook within #{classname}") # This part is for the IN action call HostPathFixCommon.new().loop_and_fix_unfix(env, fix=false) # Now continue until the OUT call @app.call(env) end