File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -611,7 +611,7 @@ public final class Book {
611611 }
612612
613613 logger. info ( " Created XLSX directory structure at: \( tempDir. path) " )
614-
614+
615615 // 调试:列出临时目录内容
616616 if let contents = try ? FileManager . default. contentsOfDirectory ( atPath: tempDir. path) {
617617 print ( " 📁 TempDir contents: \( contents) " )
@@ -737,7 +737,7 @@ public final class Book {
737737 print ( " 📦 Book.createZipArchive called: " )
738738 print ( " TempDir: \( tempDir. path) " )
739739 print ( " OutputURL: \( outputURL. path) " )
740-
740+
741741 do {
742742 let stats = try zipArchiver. createArchiveWithStats ( from: tempDir, to: outputURL)
743743
Original file line number Diff line number Diff line change @@ -281,11 +281,11 @@ public struct SimpleZip: Sendable {
281281 print ( " 🚀 ZIP createFromDirectoryWithStats called: " )
282282 print ( " From: \( directoryURL. path) " )
283283 print ( " To: \( outputURL. path) " )
284-
284+
285285 let entries = try collectEntries ( from: directoryURL)
286286 let ( zipData, stats) = try createWithStats ( entries: entries)
287287 try zipData. write ( to: outputURL)
288-
288+
289289 print ( " ✅ ZIP creation completed successfully " )
290290 return stats
291291 }
You can’t perform that action at this time.
0 commit comments