party.whey.files.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | files.whey.party |
| Commit rev | 3n3jx5tpl6k23 |
| Indexed |
#file
objectThe ordered bytes of a file. All chunks except the last are exactly chunkSize; the last is 1..chunkSize. size is the sum of chunk sizes.
Properties
Nominal chunk size in bytes. The last chunk may be smaller. 4 MiB is the default; 64 MiB is the protocol ceiling.
minimum: 65536maximum: 67108864
maxLength: 4096
maxSize: 67108864accept: */*
maxLength: 255
sha256
bytesOptional whole-file SHA-256. Client-asserted; writers with no read access cannot verify it. Readers and fsck verify when present.
minLength: 32maxLength: 32
Total bytes. Must equal the sum of chunk sizes.
minimum: 0
#parent
objectA soft reference to this drive's root meta record or to a directory record. The drive identity and authority are implicit. A file or link is never a parent.
Properties
enum: party.whey.files.meta | party.whey.files.dir
The parent's record key. It is 'self' when collection is the meta record, and a TID when collection is a directory.
#posix
objectAdvisory POSIX metadata. Never enforced as a security boundary. Writers must set explicit values; readers must not invent different ones.
#trashedFrom
objectWhere a trashed node came from, so it can be restored.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A file. Its parent is the drive meta record or a directory.
-
network.crate.file
recordA mutable file head, addressed by its stable record key in a private drive space.
-
tech.waow.stash.file
recordOne stored file. The record key is the file name with characters outside the record-key set replaced by '-'.
-
A directory. Its parent is the drive meta record or another directory.
-
The drive declaration and the root directory. There is no separate root node.