google / fscrypt

Go tool for managing Linux filesystem encryption
Apache License 2.0
905 stars 99 forks source link

Stop using deprecated package io/ioutil #371

Closed ebiggers closed 1 year ago

ebiggers commented 1 year ago

Since Go 1.16 (which recently became the minimum supported Go version for this project), the package io/ioutil is deprecated in favor of equivalent functionality in the io and os packages. staticcheck warns about this. Address all the warnings by switching to the non-deprecated replacement functions.

josephlr commented 1 year ago

LGTM