Function rust_unixfs::symlink::serialize_symlink_block
source · pub fn serialize_symlink_block(target_path: &str, block_buffer: &mut Vec<u8>)
Expand description
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.