Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed streamFile deprecation + deactivated advancedETagComparison b…
…y default (#3177) * Update FileIO.swift sha-256 digest set when file is written to system * Introduced new streamFile method Introduced new streamFile method which allows for advancedETag comparison. Deprecated the old one. * Updated Unit Tests Updates to remove deprecated warnings by using the new streamFile() method. Also removed some other deprecation warnings. * Added more documentation * Removed unnecessary CryptoKit import * added closure return types * incorporated first round of @0xTim's feedback * added test cases to account for advanced/simple etags * Incorporated PR comments - adjusted faulty comment - access storage directly to avoid concurrent overwrites of the entire storage * Added test for legacy streamFile * Deprecated method to silence warnings * Warning fixes * following @gwynne's style advice :) * undone deprecation + default of new advancedEtagComparison --------- Co-authored-by: Tim Condon <0xTim@users.noreply.github.com> Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
- Loading branch information