[][src]Function ipfs_unixfs::symlink::serialize_symlink_block

pub fn serialize_symlink_block(target_path: &str, block_buffer: &mut Vec<u8>)

Appends a dag-pb block for for a symlink to the given target_path. It is expected that the target_path is valid relative unix path relative to the place in which this is used but targets validity cannot really be judged.