learning about daemon-free metadata



Hi Seth, I have two questions for you about your daemon-free metadata proposal.

1) With your proposal, if one application says:

	setMetadata("/this/is/my/filename", "icon", "dog");

and another application says:

setMetadata("/this/is/my/filename", "preferred application", "gimp");

at the same time, are both of these changes guaranteed to be made? Or might one be lost?

2) With your proposal, if one application says:

setMetadata("/this/is/my/filename", "tiny-thumbnail-jpeg", 22K of image data in JPEG format);

and another application says:

setMetadata("/this/is/my/filename", "tiny-thumbnail-jpeg", 14K of image data in JPEG format);

at the same time, are you guaranteed to get either one set of icon data or the other? Or could you end up with something that's half of one and half of the other and not valid JPEG?

The answers to these two questions may help me understand your proposal.

    -- Darin

_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]