Development Team/Low-level Activity API: Difference between revisions
→Querying: strike out mount points |
m →Mount Points: strike out |
||
| Line 270: | Line 270: | ||
==Mount Points== | ==Mount Points== | ||
Devices are represented as mount points in the datastore. If no mountpoint is explicitly specified, the main datastore (Journal) is used. | <strike>Devices are represented as mount points in the datastore. If no mountpoint is explicitly specified, the main datastore (Journal) is used. | ||
mounts = datastore.mounts() | mounts = datastore.mounts() | ||
| Line 281: | Line 281: | ||
Mount points can be specified when creating an object (using a 'mountpoint' key and id value in the properties), and when querying the datastore (by adding a 'mountpoints' query option). | Mount points can be specified when creating an object (using a 'mountpoint' key and id value in the properties), and when querying the datastore (by adding a 'mountpoints' query option). | ||
Large files to be stored on an external device should be placed at the uri of the mount point (see [[#External Media|external media]]). | Large files to be stored on an external device should be placed at the uri of the mount point</strike> (see [[#External Media|external media]]). | ||
'''Note:''' ''This only works as described in Sugar up to 0.82. The functions do exist in later Sugar versions, but do not return useful data.'' | '''Note:''' ''This only works as described in Sugar up to 0.82. The functions do exist in later Sugar versions, but do not return useful data.'' | ||