Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing file & directory names



On Jul 1, 2006, at 3:28 PM, Dean Snyder wrote:

Sherm Pendley wrote at 2:15 PM on Saturday, July 1, 2006:

"If source is a file, the method creates a file at destination that
holds the exact contents of the original file and then deletes the
original file. If source is a directory, movePath:toPath:handler:
creates a new directory at destination and recursively populates it
with
duplicates of the files and directories contained in source."

This is really heavyweight

No, it's not heavy at all - you've just misunderstood what it does. When the above says "creates a file at destination", it's talking about creating a new directory entry that points to the same data, not about copying the data.

Again, with emphasis added, the documentation says

I read it just fine the first time, thank you.

, but that IS what the documentation says it does.

I'm not debating what words are used, I'm pointing out that you've misunderstood them. If you think the misunderstanding is the result of vague documentation, don't complain to me, just file a bug on the docs.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Changing file & directory names (From: Dean Snyder <email@hidden>)
 >Re: Changing file & directory names (From: Greg Titus <email@hidden>)
 >Re: Changing file & directory names (From: Dean Snyder <email@hidden>)
 >Re: Changing file & directory names (From: Sherm Pendley <email@hidden>)
 >Re: Changing file & directory names (From: Dean Snyder <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.