Return the size of the file’s attributes.


file.attrSize() uint64


Return the size of the file’s attributes as stored on disk. Links are not followed.

Note: the way file attributes are serialized (stored on disk) may change in the future, so may the attrSize. The only guarantees are that when a file has no attributes its attrSize will be 0; and that attrSize will be deterministic within a single transaction.


A file with no attributes has an attrSize of 0.

A file with attributes has non-zero attrSize.