cargo::sources::registry

Function set_mask

Source
fn set_mask<R: Read>(tar: &mut Archive<R>)
Expand description

Set the current umask value for the given tarball. No-op on non-Unix platforms.

On Windows, tar only looks at user permissions and tries to set the “read only” attribute, so no-op as well.