Re: How to determine if a file is completely copied?

2009-02-17 Thread Gustavo Vera
ld be even bigger. Thanks in advance! This make things harder? On Tue, Feb 17, 2009 at 2:37 PM, Dave Carrigan wrote: > > On Feb 17, 2009, at 8:25 AM, Gustavo Vera wrote: > > I'm trying to get status info from a file on disk, to be more precise, I >> need to know if the file

How to determine if a file is completely copied?

2009-02-17 Thread Gustavo Vera
Hi list, I'm trying to get status info from a file on disk, to be more precise, I need to know if the file is currently destination of a regular copy operation. I'm currently working with NSFileManager to get a list of the contents of a specific folder, and when I detect a new file on that folder

Re: Cocoa-dev Digest, Vol 5, Issue 1743

2008-10-08 Thread Gustavo Vera
I donĀ“t know why the Z_OPT ended with a NULL value, but I think it shouldn't. I think that the Z_OPT field is something like a counter for changes on a record. Maybe you can try update the value to something different from the NULL value and try again the delete with coredata. On Wed, Oct 8, 2008

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Gustavo Vera
it will continue to work in the future, especially if you have > violated any assumption that future schema migrators make about the DB file. > Louis > > On Wed, Aug 13, 2008 at 9:56 AM, Gustavo Vera <[EMAIL PROTECTED]>wrote: > >> Maybe I should not, but I'm doing it anywa

Re: What's the use of the Z_UUID in the Z_METADATA table?

2008-08-13 Thread Gustavo Vera
es, or if I can just ignore it. I'm currently ignoring it... can this become a problem in the future? On Tue, 12 Aug 2008 17:28:39 -0300, Marcelo Alves <[EMAIL PROTECTED]> wrote: > > It is a implementation detail. You should not look inside the sqlite file. > > 2008/8/12 G

What's the use of the Z_UUID in the Z_METADATA table?

2008-08-12 Thread Gustavo Vera
What's the use of the Z_UUID in the Z_METADATA table? Is some kind of check sum or something like that? CoreData uses this value for something? Why is this value different every time the DB is regenerated? Is the generation of it a random-based one? Or is it based on random+"another thing"? Please