Function read_bytes_dir

Source
pub async fn read_bytes_dir(path: PathBuf) -> Result<Vec<Vec<u8>>>
Expand description

Read the contents of files in a directory as a vector of bytes.

Calls check_path_json for every entry in directory with a valid UTF-8 file name.