[][src]Function gen_epub_book::util::book_filename

pub fn book_filename<P: AsRef<Path>>(p: P) -> PathBuf

Get filename to use for file specified by path.

Examples

assert_eq!(&book_filename("./abolish/the/../burgeoisie.html"), Path::new("abolish-the-burgeoisie.html"));