(position: Position<NodeId>, name: InodeAttrName)
| 96 | } |
| 97 | |
| 98 | fn position_attr_key(position: Position<NodeId>, name: InodeAttrName) -> [u8; 17] { |
| 99 | let mut key = [0; 17]; |
| 100 | key[..16].copy_from_slice(&encode_position(position.change.get(), position.pos.get())); |
| 101 | key[16] = name.as_byte(); |
| 102 | key |
| 103 | } |
| 104 | |
| 105 | fn inode_attr_key(inode: Inode, name: InodeAttrName) -> [u8; 9] { |
| 106 | let mut key = [0; 9]; |
no test coverage detected