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#canonical_encode_path

Expands the path, prepends "\\?\" and UTF-16LE encodes it.
This function is used by the "File" resources where we need
convert relative paths to fully qualified paths.

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-canonical_encode_path-for-pr


# Commit to git

git add lib/chef/win32/api/file.rbgit commit -m "better docs for ReservedNames::Win32::API::File#canonical_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-canonical_encode_path-for-pr

hub pull-request


# Celebrate!