Issue #4189 has been updated by zzak (Zachary Scott). File fileutils_ln_r.patch added Description updated Adding Thomas' patch from github. ---------------------------------------- Feature #4189: FileUtils#ln_r https://bugs.ruby-lang.org/issues/4189#change-33064 Author: trans (Thomas Sawyer) Status: Assigned Priority: Normal Assignee: matz (Yukihiro Matsumoto) Category: lib Target version: =begin I wrote a method for FileUtils to do recursive hard linking. It works just like cp_r but links instead of copies. The code can be found along with the pull request I made to ruby/ruby on Github: http://github.com/ruby/ruby/pull/4#issuecomment-631067 It's a pretty handy method for "staging" read-only files. For example I've used it to stage test fixture files in a tmp testing location and I've used it collect together a set of files for packaging into a tarball. =end
on 2012-11-18 23:11
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.