heroku / libcnb.rs

A framework for writing Cloud Native Buildpacks in Rust
BSD 3-Clause "New" or "Revised" License
34 stars 6 forks source link

Add `MappedWrite::unwrap` #765

Closed Malax closed 7 months ago

Malax commented 7 months ago

Currently, there is no way to get the wrapped Write value back out of a MappedWrite. In more complex scenarios where the mapping changes without closing the Write, we need to be able to get the wrapped value back out.