chef

https://github.com/opscode/chef

Ruby

A systems integration framework, built to bring the benefits of configuration management to your entire infrastructure.

ReservedNames::Win32::API::File#encode_path

takes the given path pre-pends "\\?\" and
UTF-16LE encodes it.  Used to prepare paths
to be passed to the *W vesion of WinAPI File
functions.
This function is used by the "Link" resources where we need
preserve relative paths because symbolic links can actually
point to a relative path (relative to the link itself).

Source | Google | Stack overflow

Edit

git clone [email protected]:opscode/chef.git

cd chef

open lib/chef/win32/api/file.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-ReservedNames--Win32--API--File-encode_path-for-pr


# Commit to git

git add lib/chef/win32/api/file.rbgit commit -m "better docs for ReservedNames::Win32::API::File#encode_path"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-ReservedNames--Win32--API--File-encode_path-for-pr

hub pull-request


# Celebrate!