Project

General

Profile

Actions

Feature #4865

closed

Documentation of FileUtils is very unclear on how errors are handled

Added by x3ro (x3ro _) almost 13 years ago. Updated over 11 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) almost 13 years ago

  • Assignee set to drbrain (Eric Hodel)

Updated by drbrain (Eric Hodel) over 12 years ago

  • 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) about 12 years ago

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

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Assigned to Feedback

Could you please create a draft?

--
Yusuke Endoh

Actions #5

Updated by mame (Yusuke Endoh) over 11 years ago

  • Status changed from Feedback to Rejected

No feedback.

--
Yusuke Endoh

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0