...
There is a file for each Synapse FileHandle ID that has been downloaded or uploaded. The file has the path:
<cache root> / <file handle id> / .cacheMap
The file contains the location and last-modified time stamp of each downloaded or uploaded file. The format is that of a JSON map whose keys are file paths and whose values are time stamps, e.g.
Code Block |
---|
{ "/path/to/file.txt": "2013-04-02 16:33:10" } |
TODO: file naming convention and folder organization. time stamp should be ISO8601 format.
TODO: file format (JSON?)specify file locking protocol for .cacheMap file access.
File Usage Examples
In each example, we have a project in which the File will reside:
...