ostree/rust-bindings/rust/tests/repo
Colin Walters 19224a411a repo: Add two more cap-std APIs
Followup to the previous PR.  I realized now with `io_lifetimes`
we can offer a safe `dfd_borrow()` that *borrows* the file descriptor
for the repository.  (In contrast to the current `.dfd()` that returns
the raw version)

Building on that, add another API that re-acquires a `Dir` instance.
(In the future in theory we could optimize this more by knowing
 whether or not the repo was constructed via cap-std, and perhaps
 in theory synthesize a `&Dir` reference, but I don't think we
 need that now)
2022-05-06 12:53:57 -04:00
..
checkout_at.rs repo_checkout_at_options: fix version flags 2022-05-06 12:53:55 -04:00
mod.rs repo: Add two more cap-std APIs 2022-05-06 12:53:57 -04:00