[sugar] Info about data, instance and tmp directories in activity root
Fri Jun 13 10:36:10 EDT 2008
On Fri, Jun 13, 2008 at 10:31 AM, Tomeu Vizoso <tomeu at tomeuvizoso.net>
> On Fri, Jun 13, 2008 at 4:20 PM, Faisal Anwar <fanwar at mediamods.com>
> > Hi,
> > Does anyone know about (or can point me to docs for) the recommended uses
> > the data, instance and tmp directories that exist for every activity
> > (usually found in the ~myhome/.sugar/default/org.laptop.MyActivity/
> > directory)? In particular, I had the following questions:
> > - what types of data should be written in each of these three
> > and what is the difference between each?
> > - Are there specific permissions or ownership issues involved with these
> > directories.
> > - When should developers be writing files or data to the datastore and
> > should they instead by saving files directly to one of these directories?
> An activity has to save to the DS all that is required to resume the
> activity at a later point. You can see this as storing an activity
> into the freezer, so it can be unfrozen later and resumed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel