Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I haven't found good data about how the versions feature is implemented. As I see it there are three ways it could be implemented:

  1. The separate versions are all in one file (possibly as resource forks)
  2. The version information is part of the filesystem
  3. The version information is kept in a set of files and a library is need to put them together into one file

I want to know because I am worried about what will happen when you send a copy of a file to a third party. Will the third party be able to see the history of the file (bad in some cases, desirable in others)? What if the third party is using an earlier version of OS X, or a different OS completely?

share|improve this question
    
The API for accessing versions should be available here once the documentation set for Lion is published developer.apple.com/library/mac/search/?q=version (paid developers have this information from the beta documentation) –  bmike Jul 22 '11 at 14:06

1 Answer 1

up vote 7 down vote accepted

You should read the big Siracusa's Lion review in Ars Technica.

The gist of it is, no, every time another program tries to access the file (e.g. you're trying to send it in Mail, upload it in safari) what the other program will get is the current version you're looking at. Nothing else.

See more at this particular section.

share|improve this answer
2  
Was going to link that review. It has everything in it. :-D –  Moshe Jul 22 '11 at 14:14
    
Funny, Siracusa's review also immediately jumped to my mind when I thought "I've read that somewhere" :) –  René Jul 22 '11 at 14:23
    
Yeah, I read that article and it seems to point to a variant of version 3 where the file is monitored for changes and the differences are stored in a database, but how could a system like this handle copying or moving a file? I have a feeling something more must be happening. –  Chas. Owens Jul 22 '11 at 14:25
    
Basically when someone asked to copy that file, the database will say "hey this copy is already 5 minute old, let me get a new one for you <autosaving>, here it is". –  Enrico Susatyo Aug 1 '11 at 15:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.