2010-12-02 04:27:56 +00:00
|
|
|
File schema
|
|
|
|
|
|
|
|
{"camliVersion": 1,
|
|
|
|
"camliType": "file",
|
|
|
|
|
2011-09-08 00:51:29 +00:00
|
|
|
// #include "file-common.txt" # metadata about the file
|
|
|
|
// #include "../bytes.txt" # describes the bytes of the file
|
2010-12-02 04:27:56 +00:00
|
|
|
|
|
|
|
// Optional, if linkcount > 1, for representing hardlinks properly.
|
2011-09-08 00:51:29 +00:00
|
|
|
"inodeRef": "digalg-blobref", // to "inode" blobref, when the link count > 1
|
2010-12-02 04:27:56 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: Mac/NTFS-style resource forks? perhaps just a "streams"
|
|
|
|
// array of recursive file objects?
|
|
|
|
|