perkeep/doc/schema/files/file.txt

16 lines
448 B
Plaintext

File schema
{"camliVersion": 1,
"camliType": "file",
// #include "file-common.txt" # metadata about the file
// #include "../bytes.txt" # describes the bytes of the file
// Optional, if linkcount > 1, for representing hardlinks properly.
"inodeRef": "digalg-blobref", // to "inode" blobref, when the link count > 1
}
// TODO: Mac/NTFS-style resource forks? perhaps just a "streams"
// array of recursive file objects?