tailhook / unshare

The low-level linux containers creation library for rust
Apache License 2.0
124 stars 27 forks source link

Make before_unfreeze and before_exec return self for chaining #16

Closed joshtriplett closed 4 years ago

joshtriplett commented 4 years ago

Since we're changing the API anyway to return self, switch before_exec to unsafe like the standard library's equivalent did, and rename it to pre_exec accordingly. Rename the related error and field to match, to avoid confusion.

tailhook commented 4 years ago

Merged. Thanks!