Skip to content

Commit

Permalink
Fix comment (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhz2 authored Sep 2, 2024
1 parent 19a1740 commit 18b5a95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/writer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Base.write(w::ZipWriter, x::UInt8) = write(w, Ref(x))

# WriteOffsetTracker
Base.isopen(w::WriteOffsetTracker) = !w.bad
Base.close(w::WriteOffsetTracker) = nothing # this should never be called
Base.close(w::WriteOffsetTracker) = nothing # this protects the underlying stream from being closed by TranscodingStreams
Base.isreadable(w::WriteOffsetTracker) = false
Base.write(w::WriteOffsetTracker, x::UInt8) = write(w, Ref(x))

Expand Down Expand Up @@ -745,4 +745,4 @@ function write_footer(
after_write_offset = io.offset
@argcheck after_write_offset == tailsize + end_of_central_dir
tailsize + size_of_central_dir
end
end

0 comments on commit 18b5a95

Please sign in to comment.