# File lib/fastcst/changeset.rb, line 698
698:         def run(indata, dir)
699:             begin
700:                 Dir.chdir dir do
701:                     @deleted_dirs.each do |path|
702:                         begin
703:                             UI.event :rmdir, path
704:                             FileUtils.rmdir path
705:                         rescue
706:                             UI.failure :directory, "Could not remove directory: #$!"
707:                         end
708:                     end
709:                     
710:                     @created_dirs.each do |path|
711:                         if not File.exist? path
712:                             UI.event :mkdir, path
713:                             FileUtils.mkdir_p path
714:                         end
715:                     end
716:                 end
717:             rescue
718:                 UI.failure :directory, "#{$!}"
719:                 return false
720:             end
721:             
722:             return true
723:         end