Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Tar_(lwt_)unix.extract documentation #155

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

reynir
Copy link
Member

@reynir reynir commented Sep 20, 2024

The documentation said it would create [dst]. It did not. In fact, it does not attempt to create any directories; not even the ones listed in the archive explicitly or implicitly.

I think it should at least create the directories from the archive. #149 touched the same code (somewhat). In the meantime it's better to reflect what it actually does.

The documentation said it would create [dst]. It did not. In fact, it
does not attempt to create *any* directories; not even the ones listed
in the archive explicitly or implicitly.
@reynir reynir merged commit 6da166e into main Sep 20, 2024
1 check was pending
@reynir reynir deleted the extract-documentation branch September 20, 2024 11:10
avsm pushed a commit to ocaml/opam-repository that referenced this pull request Sep 20, 2024
CHANGES:

- Fix a wrong assumption in `Tar_lwt_unix.run` for `Tar.Really_read _` that one
  tar block was always read. This meant that using `Tar.Really_read` with a
  size different from 512 would fail. (Reported by @jonahbeckford, review by @hannesm, @reynir, mirage/ocaml-tar#153)
- Document better the actual behavior of `Tar_unix.extract` and
  `Tar_lwt_unix.extract` (@reynir, mirage/ocaml-tar#155)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant