diff options
Diffstat (limited to 'src/epub.rs')
| -rw-r--r-- | src/epub.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/epub.rs b/src/epub.rs index 6f736de..d86fa35 100644 --- a/src/epub.rs +++ b/src/epub.rs @@ -33,14 +33,6 @@ pub async fn write_container_xml(dest_root: &Path, opf_full_path: &str) -> Resul Ok(()) } -/// Creates and writes the mimetype. Assumes dest_root already exists. -pub async fn write_mimetype(dest_root: &Path) -> Result<()> { - let dest_path = dest_root.join("mimetype"); - let mut file = File::create(dest_path).await?; - file.write_all(b"application/epub+zip").await?; - Ok(()) -} - pub async fn download_all_files( client: &Client, file_entries: &[FileEntry], |
