vagrant
https://github.com/mitchellh/vagrant
Ruby
Vagrant is a tool for building and distributing development environments.
Vagrant::Action::Builtin::MixinSyncedFolders#synced_folders_diff
This finds the difference between two lists of synced folder
definitions.
This will return a hash with three keys: "added", "removed",
and "modified". These will contain a set of IDs of folders
that were added, removed, or modified, respectively.
The parameters should be results from the {#synced_folders} call.Edit
git clone [email protected]:mitchellh/vagrant.git
cd vagrant
open lib/vagrant/action/builtin/mixin_synced_folders.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Vagrant--Action--Builtin--MixinSyncedFolders-synced_folders_diff-for-pr
# Commit to gitgit add lib/vagrant/action/builtin/mixin_synced_folders.rbgit commit -m "better docs for Vagrant::Action::Builtin::MixinSyncedFolders#synced_folders_diff"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Vagrant--Action--Builtin--MixinSyncedFolders-synced_folders_diff-for-pr
hub pull-request
# Celebrate!