Function html5_picture::path::get_output_working_dir [−][src]
pub fn get_output_working_dir(input_dir: &PathBuf) -> Result<PathBuf, String>
Generates the output directory name by attaching a fixed string to it.
Example
use { html5_picture::path::get_output_working_dir, std::path::PathBuf, }; let input = PathBuf::from("../assets"); let input = get_output_working_dir(&input).unwrap(); assert_eq!(input.to_str().unwrap(), "../assets-html5picture");