File saving -- how is it done?
File saving -- how is it done?
- Subject: File saving -- how is it done?
- From: "Ian Archer" <email@hidden>
- Date: Thu, 26 Apr 2007 17:00:26 -0400
I've noticed that some mac applications do file saves through what
appears to be a write'n'swap system. One can observe something like:
/Users/name/.TemporaryItems/folders.501/TemporaryItems/(A Document
Being Saved By OmniGraffle)/test.graffle
Although at least TextEdit and probably many others do this. My
assumption is that there is some function call or series of function
calls which accomplish this. I can't tell whether this file is
written to, then replaced with the destination file, or whether this
is some hard link that is written to.
I am curious:
a) what is the high level call (if any) which generates this outcome
b) what are the low level commands which implement this functionality.
Thanks for any help you can provide!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden