Project

General

Profile

Actions

Feature #4865

closed

Documentation of FileUtils is very unclear on how errors are handled

Feature #4865: Documentation of FileUtils is very unclear on how errors are handled

Added by x3ro (x3ro _) over 14 years ago. Updated almost 13 years ago.

Status:
Rejected
Target version:
-
[ruby-core:36919]

Description

Documentation of FileUtils is very unclear on how errors are handled.

Looking at the documentation at http://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/classes/FileUtils.html on "cp_r" you can see that error handling isn't mentioned at all, and you can't see how errors are handled from the attached source either. I had to follow this path to finally find out how errors were handled:

cp_r -> copy_entry -> Entry_.traverse -> preorder_traverse

Updated by zenspider (Ryan Davis) over 14 years ago Actions #1 [ruby-core:37114]

  • Assignee set to drbrain (Eric Hodel)

Updated by drbrain (Eric Hodel) over 14 years ago Actions #2 [ruby-core:37905]

  • Assignee deleted (drbrain (Eric Hodel))

I do not have the experience to document the error handling of FileUtils.

Assigning to nobody as there appears to be no FileUtils maintainer at this time.

Updated by mame (Yusuke Endoh) over 13 years ago Actions #3 [ruby-core:43635]

  • Status changed from Open to Assigned
  • Assignee set to aamine (Minero Aoki)

Updated by mame (Yusuke Endoh) over 13 years ago Actions #4 [ruby-core:44553]

  • Status changed from Assigned to Feedback

Could you please create a draft?

--
Yusuke Endoh

Updated by mame (Yusuke Endoh) almost 13 years ago Actions #5

  • Status changed from Feedback to Rejected

No feedback.

--
Yusuke Endoh

Actions

Also available in: PDF Atom