generated from ipfs/ipfs-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
blockstore: only close the file on error in OpenReadWrite, not OpenR…
…eadWriteFile OpenReadWriteFile gives full control of the file to the caller, so it should not decide to close the file, even on error. This commit was moved from ipld/go-car@794f222
- Loading branch information
1 parent
ca32fef
commit 4cb3791
Showing
1 changed file
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters