zipFile.getSync(name)


zipFile.get() 的同步版本。像 get() 一样,它一开始不会读取任何内容,只会构建延迟句柄,所以它本身不会因为 I/O 而阻塞 —— 但通过返回的条目(比如 zipEntry.contentSync())后续进行的读取会阻塞;参见上文关于同步方法的说明。

🌐 The synchronous version of zipFile.get(). Like get(), it reads nothing up front and only builds the lazy handle, so it does not itself block on I/O - but reads performed later through the returned entry (such as zipEntry.contentSync()) do; see the note above on synchronous methods.