method
platform_support
v1_9_3_125 -
Show latest stable
- Class:
FileUtils::Entry_
platform_support()public
No documentation available.
# File lib/fileutils.rb, line 1410
def platform_support
return yield unless fu_windows?
first_time_p = true
begin
yield
rescue Errno::ENOENT
raise
rescue => err
if first_time_p
first_time_p = false
begin
File.chmod 0700, path() # Windows does not have symlink
retry
rescue SystemCallError
end
end
raise err
end
end