Closed
Bug 124002
Opened 24 years ago
Closed 23 years ago
Add some info/doc to nsIFile::copyTo function.
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.0
People
(Reporter: skasinathan, Assigned: dougt)
References
Details
(Keywords: topembed)
Looks like copyTo(..) will fail if the file already exists in the destination
directory. Can you add this comment in the iface. Thanks!
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → mozilla1.0
Assignee | ||
Comment 1•23 years ago
|
||
Index: nsIFile.idl
===================================================================
RCS file: /cvsroot/mozilla/xpcom/io/nsIFile.idl,v
retrieving revision 1.49
diff -u -r1.49 nsIFile.idl
--- nsIFile.idl 29 Jan 2002 21:42:38 -0000 1.49
+++ nsIFile.idl 7 Mar 2002 23:54:01 -0000
@@ -102,6 +102,9 @@
* If 'this' is not created we will return an error
* (NS_ERROR_FILE_TARGET_DOES_NOT_EXIST).
*
+ * copyTo may fail if the file already exists in the destination
+ * directory
+ *
* copyTo will NOT resolve aliases/shortcuts during the copy.
*
* @param newParentDir
Assignee | ||
Comment 2•23 years ago
|
||
i just added a period to the end of that sentense.
Assignee | ||
Comment 3•23 years ago
|
||
Checking in nsIFile.idl;
/cvsroot/mozilla/xpcom/io/nsIFile.idl,v <-- nsIFile.idl
new revision: 1.50; previous revision: 1.49
done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
a=dbaron
You need to log in
before you can comment on or make changes to this bug.
Description
•