[][src]Module rapture::capture

Functions

capture

This is the heart of the capture subcommand. This function walks the over the folders and files of an entire file tree, and generates a rapture script that will recreate that exact file tree within the package installation directory.

decode

This function decodes a string of hex characters into a vector of bytes. These bytes can be written to a file using File::write_all.

encode

This function encodes a vector of bytes into a string of hex characters. This is used with the output of File::read_to_end to convert a file to hex.